diff --git a/code/lib/core-server/src/presets/favicon.test.ts b/code/lib/core-server/src/presets/favicon.test.ts index 2a3834e248e..3deaa873611 100644 --- a/code/lib/core-server/src/presets/favicon.test.ts +++ b/code/lib/core-server/src/presets/favicon.test.ts @@ -29,6 +29,9 @@ jest.mock('fs-extra', () => { pathExists: jest.fn((p: string) => { return false; }), + existsSync: jest.fn((p: string) => { + return false; + }), }; });