mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-01-26 06:57:12 +00:00
20 lines
594 B
TypeScript
20 lines
594 B
TypeScript
import { defineConfig, mergeConfig } from "vitest/config";
|
|
import viteConfig from "./vitest.config.common";
|
|
|
|
export default mergeConfig(
|
|
viteConfig,
|
|
defineConfig({
|
|
test: {
|
|
name: "unit-tests",
|
|
include: ["**/*unit.test.ts"],
|
|
exclude: ["test/**"],
|
|
coverage: {
|
|
include: ["src/**/*.ts"],
|
|
exclude: ["**/*.test.ts", "src/lib/**/*.test.ts", "**/_*", "src/lib/apps", "src/lib/src/cli"],
|
|
provider: "v8",
|
|
reporter: ["text", "json", "html"],
|
|
},
|
|
},
|
|
})
|
|
);
|