|
26 | 26 | "start": "run-p start:*",
|
27 | 27 | "start:source": "yarn build:source --watch",
|
28 | 28 | "start:types": "tsc -b -w --preserveWatchOutput src/",
|
29 |
| - "test": "node src test", |
| 29 | + "test": "SWC_NODE_PROJECT=src/tsconfig.json node src test", |
30 | 30 | "test:update": "node src test --updateSnapshot",
|
31 | 31 | "validate": "node src validate",
|
32 | 32 | "prepare": "husky install"
|
|
53 | 53 | "@commitlint/cli": "^16.1.0",
|
54 | 54 | "@commitlint/config-conventional": "^16.2.1",
|
55 | 55 | "@commitlint/prompt": "^16.1.0",
|
| 56 | + "@swc-node/jest": "^1.5.2", |
56 | 57 | "@swc/core": "^1.2.248",
|
57 |
| - "@swc/jest": "^0.2.22", |
58 | 58 | "@types/jest": "^29.0.0",
|
59 | 59 | "@types/lodash.has": "^4.5.6",
|
60 | 60 | "@types/mkdirp": "^1.0.2",
|
|
83 | 83 | "glob": "^8.0.3",
|
84 | 84 | "is-ci": "^3.0.1",
|
85 | 85 | "jest": "^29.0.2",
|
| 86 | + "jest-environment-jsdom": "^29.0.3", |
86 | 87 | "jest-github-actions-reporter": "^1.0.3",
|
87 | 88 | "jest-watch-typeahead": "^2.1.1",
|
88 | 89 | "lint-staged": "^12.3.4",
|
|
0 commit comments