From ceb6a093879764030a97326c0e19879052bd842d Mon Sep 17 00:00:00 2001 From: lyzno1 Date: Thu, 30 Oct 2025 17:39:02 +0800 Subject: [PATCH] exclude test file in tsc --- web/tsconfig.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/tsconfig.json b/web/tsconfig.json index 3b022e4708..1d03daa576 100644 --- a/web/tsconfig.json +++ b/web/tsconfig.json @@ -40,6 +40,11 @@ "app/components/develop/Prose.jsx" ], "exclude": [ - "node_modules" + "node_modules", + "**/*.test.ts", + "**/*.test.tsx", + "**/*.spec.ts", + "**/*.spec.tsx", + "__tests__/**" ] }