feat(test): use vitest

This commit is contained in:
Leo Wang(草鞋没号) committed 2024-11-17 19:31:52 +08:00
1 parent f3e8e2cf68
commit d8d6e8dcb1
4 files changed
+73 -8

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
root: __dirname,
include: ['test/**/*.{test,spec}.?(c|m)[jt]s?(x)'],
testTimeout: 1000 * 29,
},
})