Files
homeassistant_espscreen/web/vitest.config.ts
T
2026-09-18 08:30:38 +02:00

14 lines
423 B
TypeScript

import vue from "@vitejs/plugin-vue";
import { defineConfig } from "vitest/config";
// Unit and component tests of the editor: the grid rules, the top bar rules, the store and the components,
// in jsdom. `npm test` runs them; `npm run test:watch` while developing.
export default defineConfig({
plugins: [vue()],
test: {
environment: "jsdom",
include: ["tests/**/*.spec.ts"],
restoreMocks: true,
},
});