import { defineConfig } from "vitest/config"; import vue from "@vitejs/plugin-vue"; import { fileURLToPath, URL } from "node:url"; export default defineConfig({ plugins: [vue()], resolve: { alias: { "@heroui-vue/components": fileURLToPath( new URL("./packages/vue/src/index.ts", import.meta.url), ), "@heroui-vue/styles": fileURLToPath( new URL("./packages/styles/src/index.ts", import.meta.url), ), }, }, test: { environment: "jsdom", include: ["tests/**/*.test.ts"] }, });