From 97d12d3f31d76a8e7c027f78cdcd446c9c349a2e Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 30 Jan 2023 14:50:40 +0100 Subject: [PATCH] fix test --- code/lib/core-server/src/presets/favicon.test.ts | 3 +++ 1 file changed, 3 insertions(+) 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; + }), }; });