21 lines
467 B
JavaScript
21 lines
467 B
JavaScript
import { fileURLToPath, URL } from "node:url";
|
|
import { defineConfig } from "vitest/config";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import VueJsx from "@vitejs/plugin-vue-jsx";
|
|
|
|
export default defineConfig({
|
|
plugins: [vue(), VueJsx()],
|
|
resolve: {
|
|
alias: {
|
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
|
},
|
|
},
|
|
test: {
|
|
environment: "node",
|
|
include: ["tests/unit/**/*.spec.js"],
|
|
coverage: {
|
|
enabled: false,
|
|
},
|
|
},
|
|
});
|