Skip to content

Commit 34c9e23

Browse files
committed
Switch to vitest
1 parent e4696e5 commit 34c9e23

11 files changed

Lines changed: 2677 additions & 5479 deletions

‎jest.config.js‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎package-lock.json‎

Lines changed: 2459 additions & 5255 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,34 +22,33 @@
2222
"shell-quote": "^1.8.1"
2323
},
2424
"devDependencies": {
25-
"@jest/globals": "^29.6.4",
2625
"@tsconfig/node16": "^16.1.1",
2726
"@tsconfig/strictest": "^2.0.2",
2827
"@types/node": "^16.18.48",
2928
"@types/semver": "^7.5.1",
3029
"@types/shell-quote": "^1.7.1",
3130
"@typescript-eslint/eslint-plugin": "^6.6.0",
3231
"@typescript-eslint/parser": "^6.6.0",
32+
"@vitest/coverage-v8": "^0.34.3",
3333
"dprint": "^0.40.2",
3434
"esbuild": "^0.19.2",
3535
"eslint": "^8.48.0",
3636
"eslint-plugin-simple-import-sort": "^10.0.0",
3737
"eslint-plugin-unicorn": "^48.0.1",
3838
"husky": "^8.0.3",
39-
"jest": "^29.6.4",
4039
"jest-serializer-path": "^0.1.15",
4140
"klona": "^2.0.6",
4241
"rimraf": "^5.0.1",
43-
"ts-jest": "^29.1.1",
44-
"typescript": "~5.2.2"
42+
"typescript": "~5.2.2",
43+
"vitest": "^0.34.3"
4544
},
4645
"scripts": {
4746
"postinstall": "husky install",
4847
"build": "esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node --target=node16",
4948
"update:all": "npx npm-check-updates -u && npm install",
5049
"update:all:transitive": "npx npm-check-updates -u && rimraf package-lock.json node_modules && npm install",
51-
"test": "jest",
52-
"test:coverage": "jest --coverage"
50+
"test": "vitest",
51+
"test:coverage": "vitest run --coverage"
5352
},
5453
"release-it": {
5554
"git": {

0 commit comments

Comments
 (0)