Import project configuration: vitest.config.ts
Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality.
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
import { defineConfig } from "vitest/config";
|
||||||
|
import react from "@vitejs/plugin-react";
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
plugins: [react()],
|
||||||
|
test: {
|
||||||
|
include: ["tests/unit/**/*.{test,spec}.{ts,tsx}"],
|
||||||
|
environment: "jsdom",
|
||||||
|
setupFiles: ["./tests/unit/setup.ts"],
|
||||||
|
globals: true,
|
||||||
|
css: true,
|
||||||
|
},
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
"@": "/srv/CoaxysPanel/src",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user