fix(jest): set js-dom as jest environment
This commit is contained in:
parent
5de36c44f0
commit
ccfb9deb7e
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@
|
||||||
"worker-loader": "^3.0.7"
|
"worker-loader": "^3.0.7"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
"preset": "ts-jest",
|
||||||
|
"testEnvironment": "jsdom",
|
||||||
"testMatch": [
|
"testMatch": [
|
||||||
"**/src/**/__test__/**/*.test.ts",
|
"**/src/**/__test__/**/*.test.ts",
|
||||||
"**/src/**/__test__/**/*.test.tsx"
|
"**/src/**/__test__/**/*.test.tsx"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue