mirror of https://github.com/TriliumNext/Notes
chore(monorepo/server): improve running of tests
parent
6aa6597cb1
commit
eecf984d35
@ -0,0 +1,16 @@
|
|||||||
|
import { defineConfig } from "vitest/config";
|
||||||
|
import { configDefaults, coverageConfigDefaults } from "vitest/config";
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
test: {
|
||||||
|
exclude: [
|
||||||
|
...configDefaults.exclude,
|
||||||
|
"build/**"
|
||||||
|
],
|
||||||
|
coverage: {
|
||||||
|
reporter: [ "text", "html" ],
|
||||||
|
include: ["src/**"],
|
||||||
|
exclude: ["src/public/**"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
Loading…
Reference in New Issue