mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-27 00:48:06 +08:00
25 lines
555 B
JavaScript
25 lines
555 B
JavaScript
import { defineConfig, mergeConfig } from "vitest/config";
|
|
import viteConfig from "./vite.config";
|
|
|
|
export default defineConfig((configEnv) =>
|
|
mergeConfig(
|
|
viteConfig(configEnv),
|
|
defineConfig({
|
|
test: {
|
|
globals: true,
|
|
environment: "jsdom",
|
|
css: {
|
|
modules: {
|
|
classNameStrategy: "non-scoped",
|
|
},
|
|
},
|
|
include: ["test/**/*-test.[jt]s?(x)"],
|
|
coverage: {
|
|
reporter: ["text", "html"],
|
|
exclude: ["node_modules/"],
|
|
},
|
|
},
|
|
}),
|
|
),
|
|
);
|