Skip to content

Commit 54413a3

Browse files
committed
root: update jest, babel-jest, use jsdom environment
1 parent 1e9608f commit 54413a3

File tree

3 files changed

+17512
-17636
lines changed

3 files changed

+17512
-17636
lines changed

jest.config.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,18 @@ module.exports = async () => {
77
"clover",
88
["lcov", { projectRoot: __dirname }],
99
],
10-
testPathIgnorePatterns: ["/node_modules/", "/lib/", "/decorator-bootstrap/"],
10+
testEnvironment: "jsdom",
11+
testPathIgnorePatterns: [
12+
"/node_modules/",
13+
"/lib/",
14+
"/decorator-bootstrap/",
15+
],
1116
collectCoverage: true,
1217
collectCoverageFrom: ["packages/*/src/**/*.js", "packages/*/src/**/*.jsx"],
13-
coveragePathIgnorePatterns: ["/node_modules/", "/lib/", "/decorator-bootstrap/"],
18+
coveragePathIgnorePatterns: [
19+
"/node_modules/",
20+
"/lib/",
21+
"/decorator-bootstrap/",
22+
],
1423
};
1524
};

0 commit comments

Comments
 (0)