mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
test: add initial, basic vitest.config.ts
This commit is contained in:
parent
0ed06e76c3
commit
6be7109ce3
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…
x
Reference in New Issue
Block a user