Skip to content

Commit

Permalink
test: replace ava with vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jan 30, 2022
1 parent 6aeb5ef commit e600984
Show file tree
Hide file tree
Showing 8 changed files with 816 additions and 1,480 deletions.
12 changes: 2 additions & 10 deletions package.json
Expand Up @@ -21,17 +21,9 @@
"build": "tsup src/cli-*.ts src/index.ts src/rollup.ts --clean --splitting",
"prepublishOnly": "npm run build",
"test": "npm run build && npm run test-only",
"test-only": "ava test/*.test.ts --fail-fast --timeout 60s",
"test-only": "vitest run",
"build-fast": "npm run build -- --no-dts"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"sucrase/register"
]
},
"dependencies": {
"bundle-require": "^3.0.2",
"cac": "^6.7.12",
Expand All @@ -56,7 +48,6 @@
"@types/fs-extra": "9.0.13",
"@types/node": "14.18.4",
"@types/resolve": "1.20.1",
"ava": "4.0.0",
"colorette": "2.0.16",
"consola": "2.15.3",
"flat": "5.0.2",
Expand All @@ -74,6 +65,7 @@
"tsconfig-paths": "3.12.0",
"tsup": "5.11.10",
"typescript": "4.5.4",
"vitest": "^0.2.5",
"wait-for-expect": "3.0.2"
},
"peerDependencies": {
Expand Down

0 comments on commit e600984

Please sign in to comment.