Add testing frameworks
This commit is contained in:
14
vitest.config.ts
Normal file
14
vitest.config.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
environment: "jsdom",
|
||||
setupFiles: ["./tests/setup/vitest.setup.ts"],
|
||||
include: ["tests/**/*.{test,spec}.?(c|m)[jt]s?(x)"],
|
||||
css: false,
|
||||
coverage: {
|
||||
reporter: ["text", "html"],
|
||||
reportsDirectory: "./coverage"
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user