mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
f0d25e34c3
chore: Add lcov coverage output to vitest so VSCode coverage gutters extension works Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
19 lines
388 B
TypeScript
19 lines
388 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
setupFiles: ["./setupTests.ts"],
|
|
globals: true,
|
|
environment: "jsdom",
|
|
coverage: {
|
|
reporter: ["text", "json-summary", "json", "html", "lcovonly"],
|
|
thresholds: {
|
|
lines: 70,
|
|
branches: 70,
|
|
functions: 68,
|
|
statements: 70,
|
|
},
|
|
},
|
|
},
|
|
});
|