You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
uptime-kuma/config/vitest.config.js

22 lines
525 B

2 weeks ago
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import { fileURLToPath } from "url";
import { dirname, resolve } from "path";
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
export default defineConfig({
2 weeks ago
plugins: [ vue() ],
test: {
globals: true,
2 weeks ago
environment: "jsdom",
setupFiles: [ "./test/component/setup.js" ],
},
resolve: {
alias: {
2 weeks ago
"@": resolve(__dirname, "../src"),
},
},
});