You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
466 B
TypeScript

import { defineConfig } from "vitest/config";
import vue from "@vitejs/plugin-vue";
import path from "node:path";
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
"@utils": path.resolve(__dirname, "src/utils"),
"@stores": path.resolve(__dirname, "src/store"),
},
},
test: {
globals: true,
environment: "jsdom",
include: ["src/**/*.{test,spec}.{ts,js}"],
},
});