Skip to content

Commit

Permalink
chore: migrate to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 10, 2022
1 parent 6ddc8b1 commit b8802af
Show file tree
Hide file tree
Showing 6 changed files with 239 additions and 283 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -21,4 +21,4 @@ jobs:
- run: pnpm install
- run: pnpm lint
- run: pnpm build
- run: pnpm test
- run: pnpm vitest run --coverage
12 changes: 5 additions & 7 deletions package.json
Expand Up @@ -22,9 +22,9 @@
"dev": "pnpm unbuild test/fixture",
"lint": "eslint --ext .ts,.js .",
"prepack": "pnpm unbuild",
"release": "pnpm test && standard-version && git push --follow-tags && npm publish",
"release": "vitest run && standard-version && git push --follow-tags && npm publish",
"stub": "pnpm unbuild --stub",
"test": "mocha -r jiti/register ./test/*.test.*",
"test": "pnpm lint && vitest run",
"unbuild": "jiti ./src/cli"
},
"dependencies": {
Expand Down Expand Up @@ -58,16 +58,14 @@
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "latest",
"@types/chai": "latest",
"@types/mkdirp": "latest",
"@types/mocha": "latest",
"@types/mri": "latest",
"@types/node": "latest",
"@types/rimraf": "latest",
"chai": "latest",
"c8": "^7.12.0",
"eslint": "latest",
"mocha": "latest",
"standard-version": "latest"
"standard-version": "latest",
"vitest": "^0.21.1"
},
"packageManager": "pnpm@7.9.0"
}

0 comments on commit b8802af

Please sign in to comment.