From bfe27f8ee2bc4fd4ca1a50154b62b61da3da7a98 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 18 Mar 2020 15:45:08 +0100 Subject: [PATCH] FIX tests --- lib/core/src/client/preview/start.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/client/preview/start.test.ts b/lib/core/src/client/preview/start.test.ts index e35a8336950..2e77d0b76bd 100644 --- a/lib/core/src/client/preview/start.test.ts +++ b/lib/core/src/client/preview/start.test.ts @@ -16,7 +16,7 @@ jest.mock('global', () => ({ document: { addEventListener: jest.fn(), getElementById: jest.fn().mockReturnValue({}), - body: { classList: { add: jest.fn(), remove: jest.fn() } }, + body: { classList: { add: jest.fn(), remove: jest.fn() }, style: {} }, documentElement: {}, location: { search: '?id=kind--story' }, },