Skip to content

Commit

Permalink
test: setup vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
velut committed Jul 2, 2024
1 parent 4f7a69d commit a3801fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"remoteip",
"scibona",
"siteverify",
"tsup"
"tsup",
"vitest"
]
}
8 changes: 8 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { defineConfig } from "vitest/config";

export default defineConfig({
test: {
testTimeout: 10000,
coverage: { include: ["src/**"] },
},
});

0 comments on commit a3801fb

Please sign in to comment.