svgl/vitest.config.ts

16 lines
299 B
TypeScript
Raw Normal View History

2022-06-24 00:20:49 +08:00
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"),
},
},
});