mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(server): align test configuration
This commit is contained in:
parent
ff106e21cf
commit
52a082d0e2
@ -13,7 +13,8 @@
|
|||||||
"tsBuildInfoFile": "dist/tsconfig.app.tsbuildinfo"
|
"tsBuildInfoFile": "dist/tsconfig.app.tsbuildinfo"
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*.ts"
|
"src/**/*.ts",
|
||||||
|
"package.json"
|
||||||
],
|
],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"eslint.config.js",
|
"eslint.config.js",
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"module": "ESNext",
|
||||||
|
"moduleResolution": "bundler",
|
||||||
|
"target": "ES2020",
|
||||||
"outDir": "./out-tsc/vitest",
|
"outDir": "./out-tsc/vitest",
|
||||||
"types": [
|
"types": [
|
||||||
"vitest/globals",
|
"vitest/globals",
|
||||||
@ -24,6 +27,7 @@
|
|||||||
"src/**/*.test.jsx",
|
"src/**/*.test.jsx",
|
||||||
"src/**/*.spec.jsx",
|
"src/**/*.spec.jsx",
|
||||||
"src/**/*.d.ts",
|
"src/**/*.d.ts",
|
||||||
"src/**/*.ts"
|
"src/**/*.ts",
|
||||||
|
"package.json"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user