Skip to content

Commit c96ea64

Browse files
committed
chore: migrate to vitest
1 parent f8cc4cd commit c96ea64

File tree

7 files changed

+289
-308
lines changed

7 files changed

+289
-308
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ on:
1616
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1717
jobs:
1818
lint:
19-
name: "Lint"
19+
name: 'Lint'
2020
runs-on: ubuntu-latest
2121

22-
steps:
22+
steps:
2323
- uses: actions/checkout@v1
2424
- uses: volta-cli/action@v1
2525
with:

jest.config.ts

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

package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,15 @@
2828
},
2929
"scripts": {
3030
"lint": "eslint src/*",
31-
"test": "jest src/*.test.ts",
31+
"test": "vitest src/*.test.ts",
3232
"build": "echo \"\" > ./build-complete.meta && tsc",
33-
"coverage": "jest --coverage",
33+
"coverage": "vitest --coverage",
3434
"install": "( [ -f ./git-package.meta ] && [ ! -f ./build-complete.meta ] && echo \"\" > ./build-complete.meta && npm install . && tsc ) || echo \"\" > ./build-complete.meta"
3535
},
3636
"dependencies": {
3737
"through": "^2.3.8"
3838
},
3939
"devDependencies": {
40-
"@types/jest": "^27.4.0",
4140
"@types/node": "^15.6.1",
4241
"@types/node-fetch": "^2.5.12",
4342
"@types/through": "^0.0.30",
@@ -46,11 +45,10 @@
4645
"eslint": "^8.6.0",
4746
"eslint-config-prettier": "^8.3.0",
4847
"eslint-plugin-prettier": "^4.0.0",
49-
"jest": "^27.4.5",
5048
"node-fetch": "^2.6.6",
5149
"prettier": "^2.5.1",
52-
"ts-jest": "^27.0.7",
5350
"ts-node": "^10.4.0",
54-
"typescript": "^4.5.4"
51+
"typescript": "^4.5.4",
52+
"vitest": "^0.18.0"
5553
}
5654
}

0 commit comments

Comments
 (0)