We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7fc750 commit 6f33a47Copy full SHA for 6f33a47
2 files changed
jest.config.js
@@ -4,5 +4,7 @@ module.exports = {
4
globals: {
5
__DEV__: true,
6
},
7
+ roots: ['src', 'test'],
8
+ testEnvironment: 'jsdom',
9
setupFilesAfterEnv: ['./test/setup.ts'],
10
};
package.json
@@ -23,7 +23,7 @@
23
"scripts": {
24
"start": "tsdx watch",
25
"build": "tsdx build",
26
- "test": "tsdx test --env=jsdom",
+ "test": "tsdx test",
27
"lint": "tk-lint",
28
"format": "tk-format",
29
"release": "yarn build && yarn test && tk-release"
0 commit comments