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" "ESNext"
], ],
"types": [ "types": [
"vitest/globals" "vitest/globals",
"@testing-library/jest-dom"
], ],
"module": "ESNext", "module": "ESNext",
"skipLibCheck": true, "skipLibCheck": true,

View File

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