1
0
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:
2025-02-20 22:27:04 +04:00
parent ab5a6daa07
commit 6a34822f6a
2 changed files with 4 additions and 2 deletions

View File

@@ -11,5 +11,8 @@
"strict": true,
"moduleResolution": "bundler",
"allowImportingTsExtensions": false,
"types": [
"vitest/globals"
]
}
}

View File

@@ -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}'],
}
}
});