From 2eec8635a05acca2a2841a04196a20d5f9962651 Mon Sep 17 00:00:00 2001 From: adamhenson Date: Tue, 7 May 2024 18:25:26 -0400 Subject: [PATCH] feat: node 20 and better ci --- src/lighthousePersist.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lighthousePersist.test.ts b/src/lighthousePersist.test.ts index a499bef..a6b0b6d 100644 --- a/src/lighthousePersist.test.ts +++ b/src/lighthousePersist.test.ts @@ -3,8 +3,8 @@ jest.mock('./helpers/getPageSpeedInsightsApiResult'); import lighthousePersist from './lighthousePersist'; import getPageSpeedInsightsApiResult from './helpers/getPageSpeedInsightsApiResult'; -jest.mock('chrome-launcher', () => ({ - launch: jest.fn().mockReturnValue({ +jest.mock('./helpers/chromeLauncher', () => ({ + chromeLauncher: jest.fn().mockReturnValue({ kill: jest.fn(), pid: 123, }),