Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
chore(jest): use jsdom environment
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyshen committed Jun 25, 2021
1 parent 3587fac commit 5c79092
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/jest/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
preset: "ts-jest",
rootDir: "../../",
testEnvironment: "jsdom",
setupFilesAfterEnv: ["<rootDir>/scripts/jest/setup.ts"],
collectCoverageFrom: ["src/**/*.ts", "!**/index.ts", "!src/types/*"],
globals: { __DEV__: true },
Expand Down

0 comments on commit 5c79092

Please sign in to comment.