mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 06:12:14 +08:00
fix: exclude test files from TypeScript type checking
Test files use .ts extensions in imports for Node's native test runner compatibility, which conflicts with TypeScript's default behavior. Excluding test files from tsconfig allows tests to run with Node while maintaining strict type checking for the main codebase. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
committed by
Willem Jiang
parent
58c1743ed5
commit
779de40f10
@@ -38,5 +38,5 @@
|
||||
"**/*.js",
|
||||
".next/types/**/*.ts"
|
||||
],
|
||||
"exclude": ["node_modules"]
|
||||
"exclude": ["node_modules", "tests/**/*.test.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user