⚒️ Initial vitest config.

This commit is contained in:
pheralb 2022-06-23 17:20:49 +01:00
parent 109f5a1156
commit 22d76642b7

15
vitest.config.ts Normal file
View File

@ -0,0 +1,15 @@
import * as path from "path";
import { defineConfig } from "vitest/config";
import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
test: {
environment: "jsdom",
},
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
},
},
});