You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
512 B
21 lines
512 B
import { defineConfig } from "vitest/config"; |
|
import { woff2BrowserPlugin } from "./scripts/woff2/woff2-vite-plugins"; |
|
|
|
export default defineConfig({ |
|
// @ts-ignore |
|
plugins: [woff2BrowserPlugin()], |
|
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, |
|
}, |
|
}, |
|
}, |
|
});
|
|
|