Skip to content

Commit 8b2d28b

Browse files
committed
chore(todo-app): update tsconfig to include testing types and remove test file exclusions
This change adds type definitions for Vitest and Testing Library to the todo-app's TypeScript configuration. Additionally, it removes the exclusion of test files from the build process, allowing for better integration with testing tools.
1 parent ab920c1 commit 8b2d28b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

apps/todo-app/tsconfig.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"baseUrl": ".",
5+
"types": [
6+
"vitest/globals",
7+
"@testing-library/jest-dom",
8+
"vite/client"
9+
],
510
"paths": {
611
"~/*": ["./app/*"],
712
"@todo-starter/ui": ["../../packages/ui/src"],
@@ -21,8 +26,6 @@
2126
"exclude": [
2227
"node_modules",
2328
"build",
24-
"dist",
25-
"**/*.test.ts",
26-
"**/*.test.tsx"
29+
"dist"
2730
]
2831
}

0 commit comments

Comments
 (0)