add vitest

This commit is contained in:
Felix Roos
2022-08-06 00:47:36 +02:00
parent 1efb8f6681
commit ffc0b364ca
3 changed files with 632 additions and 196 deletions
+623 -195
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -43,6 +43,7 @@
"jsdoc-json": "^2.0.2",
"jsdoc-to-markdown": "^7.1.1",
"lerna": "^4.0.0",
"mocha": "^9.1.4"
"mocha": "^9.1.4",
"vitest": "^0.21.0"
}
}
+7
View File
@@ -0,0 +1,7 @@
import { configDefaults, defineConfig } from 'vitest/config';
export default defineConfig({
test: {
exclude: [...configDefaults.exclude, 'packages/*/test/*', 'repl/src/test/*'],
},
});