Skip to content

Commit 6a58673

Browse files
fix: exclude test files from TypeScript compilation
Prevents test files from being included in the dist folder which was causing "jest is not defined" errors during server startup.
1 parent 00a0e6a commit 6a58673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/components/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
"module": "commonjs"
1818
},
1919
"include": ["src", "nodes", "credentials"],
20-
"exclude": ["gulpfile.ts", "node_modules", "dist"]
20+
"exclude": ["gulpfile.ts", "node_modules", "dist", "**/*.test.ts", "**/*.test.js", "**/*.spec.ts", "**/*.spec.js"]
2121
}

0 commit comments

Comments
 (0)