Added tests for vuetify plugin

This commit is contained in:
Liviu Burcusel 2025-09-12 15:42:28 +02:00
parent 8129aaf0ad
commit 4f52f171d3
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
2 changed files with 111 additions and 9 deletions

View file

@ -1,17 +1,22 @@
import { fileURLToPath } from 'node:url'
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
import viteConfig from './vite.config'
import { fileURLToPath } from "node:url";
import { mergeConfig, defineConfig, configDefaults } from "vitest/config";
import viteConfig from "./vite.config";
export default mergeConfig(
viteConfig,
defineConfig({
test: {
environment: 'jsdom',
exclude: [...configDefaults.exclude, 'e2e/**'],
root: fileURLToPath(new URL('./', import.meta.url)),
environment: "jsdom",
exclude: [...configDefaults.exclude, "e2e/**"],
root: fileURLToPath(new URL("./", import.meta.url)),
coverage: {
reporter: ['text', 'lcov']
}
reporter: ["text", "lcov"],
},
server: {
deps: {
inline: ["vuetify"],
},
},
},
}),
)
);