mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
b85d5fa12b
* test: add coverage report for PR * gh token * fix * fix * add reporter * fix * enable v8 for coverage * no watch * test * add threshold * fix * change name so the action isn't required * change job name * rename job so it doesn't collid with test required check * remove log
17 lines
335 B
TypeScript
17 lines
335 B
TypeScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
setupFiles: ["./src/setupTests.ts"],
|
|
globals: true,
|
|
environment: "jsdom",
|
|
coverage: {
|
|
reporter: ["text", "json-summary", "json"],
|
|
lines: 70,
|
|
branches: 70,
|
|
functions: 68,
|
|
statements: 70,
|
|
},
|
|
},
|
|
});
|