chore: fix types for build & test

This commit is contained in:
Jixun Wu 2023-05-17 23:04:37 +01:00
parent f3ff6198e4
commit ba5901d1eb
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}"
]
}