From 1ec47e14ad01779a60a132d1935988f0037da416 Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Thu, 16 Jul 2020 22:25:32 +0300 Subject: test: fix broken test on node 10.x --- jest.config.js | 1 + 1 file changed, 1 insertion(+) (limited to 'jest.config.js') diff --git a/jest.config.js b/jest.config.js index e972c2d..1172605 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,7 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', + setupFiles: ['./jsdom-workaround.js'], globals: { 'ts-jest': { tsConfig: 'tsconfig.spec.json', -- cgit v1.2.3