chore: fix types for build & test

This commit is contained in:
鲁树人 2023-05-17 23:04:37 +01:00
parent 1e257c1ee3
commit 448cbbfd74
2 changed files with 6 additions and 4 deletions

View File

@ -7,7 +7,8 @@
"ESNext"
],
"types": [
"vitest/globals"
"vitest/globals",
"@testing-library/jest-dom"
],
"module": "ESNext",
"skipLibCheck": true,

View File

@ -1,8 +1,9 @@
{
"extends": "./tsconfig",
"exclude": [
"./src/__tests__/**",
"./src/__mocks__/**",
"./src/test-utils"
"./src/**/__tests__/**",
"./src/**/__mocks__/**",
"./src/test-utils/**",
"./src/**/*.test.{js,jsx,ts,tsx}"
]
}