mirror of
https://github.com/koloml/furbooru-tagging-assistant.git
synced 2025-12-23 23:02:58 +00:00
Incorrect include for tests, only test lib directory, import vitest globals
This commit is contained in:
@@ -11,5 +11,8 @@
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": false,
|
||||
"types": [
|
||||
"vitest/globals"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,11 +12,10 @@ export default defineConfig({
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
include: ['src/**/*.{js,ts}'],
|
||||
exclude: ['**/node_modules/**', '.*\\.d\\.ts$', '.*\\.spec\\.ts$'],
|
||||
coverage: {
|
||||
reporter: ['text', 'html'],
|
||||
include: ['src/**/*.{js,ts}'],
|
||||
include: ['src/lib/**/*.{js,ts}'],
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user