Added tests for vuetify plugin
This commit is contained in:
parent
8129aaf0ad
commit
4f52f171d3
2 changed files with 111 additions and 9 deletions
|
|
@ -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"],
|
||||
},
|
||||
},
|
||||
},
|
||||
}),
|
||||
)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue