From 38b1a1280c61e1782e3502947af8ee4720aa5d15 Mon Sep 17 00:00:00 2001 From: Welly Shen Date: Sat, 19 Jun 2021 21:59:17 +0800 Subject: [PATCH] chore(jest): use `jsdom` environment --- jest/config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jest/config.js b/jest/config.js index e83233129..443e0a924 100644 --- a/jest/config.js +++ b/jest/config.js @@ -1,6 +1,7 @@ module.exports = { preset: "ts-jest", rootDir: "../", + testEnvironment: "jsdom", setupFilesAfterEnv: ["/jest/setup.ts"], collectCoverageFrom: [ "src/app/**/*.tsx",