homebox/frontend/test/vitest.config.ts

15 lines
271 B
TypeScript
Raw Normal View History

import path from "path";
2022-09-04 02:42:03 +00:00
import { defineConfig } from "vite";
export default defineConfig({
test: {
globalSetup: "./test/setup.ts",
},
resolve: {
alias: {
"@": path.resolve(__dirname, ".."),
"~~": path.resolve(__dirname, ".."),
},
},
2022-09-04 02:42:03 +00:00
});