From ca1c77403862601a156b92a9f914e2a3c18f9adc Mon Sep 17 00:00:00 2001 From: Rhys Arkins <rhys@arkins.net> Date: Sat, 11 Jan 2025 17:40:22 +0100 Subject: [PATCH] Update libyear.spec.ts --- lib/workers/repository/process/libyear.spec.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/workers/repository/process/libyear.spec.ts b/lib/workers/repository/process/libyear.spec.ts index b5f4c376b831d9..e4a1f1fe24ff43 100644 --- a/lib/workers/repository/process/libyear.spec.ts +++ b/lib/workers/repository/process/libyear.spec.ts @@ -4,10 +4,6 @@ import { calculateLibYears } from './libyear'; describe('workers/repository/process/libyear', () => { describe('calculateLibYears', () => { - beforeEach(() => { - logger.logger.debug.mockClear(); - }); - it('returns early if no packageFiles', () => { calculateLibYears(undefined); expect(logger.logger.debug).not.toHaveBeenCalled();