Initial Commit
This commit is contained in:
26
electron/vitest.config.ts
Normal file
26
electron/vitest.config.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import * as path from "path";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
dir: "./src/tests/unit",
|
||||
globals: true,
|
||||
environment: "jsdom",
|
||||
setupFiles: "./src/tests/unit/setup.ts",
|
||||
css: true,
|
||||
reporters: ["verbose"],
|
||||
coverage: {
|
||||
provider: "v8",
|
||||
reporter: ["text", "json", "html"],
|
||||
include: ["src/**/*"],
|
||||
exclude: [],
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user