mirror of
https://github.com/zadam/trilium.git
synced 2025-10-17 19:08:25 +08:00
test: add initial, basic vitest.config.ts
This commit is contained in:
parent
0ed06e76c3
commit
6be7109ce3
1 changed files with 13 additions and 0 deletions
13
vitest.config.ts
Normal file
13
vitest.config.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
import { defineConfig } from "vitest/config";
|
||||
import { configDefaults, coverageConfigDefaults } from "vitest/config";
|
||||
|
||||
const customExcludes = ["build/**", "e2e/**", "integration-tests/**", "tests-examples/**"];
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
exclude: [...configDefaults.exclude, ...customExcludes],
|
||||
coverage: {
|
||||
exclude: [...coverageConfigDefaults.exclude, ...customExcludes]
|
||||
}
|
||||
}
|
||||
});
|
Loading…
Add table
Reference in a new issue