From 7cc31ac526d9cedd81be2308f86f3e03b131a585 Mon Sep 17 00:00:00 2001 From: 4gray Date: Sat, 4 Jul 2026 12:09:14 +0200 Subject: [PATCH] fix(build): exclude *.test-helpers.ts from the electron-backend app tsconfig The new operations.test-helpers.ts uses jest globals and broke the webpack build and tsc typecheck, which compile every non-spec file in the app. Exclude the test-helpers pattern alongside the existing spec exclusions. Co-Authored-By: Claude Fable 5 --- apps/electron-backend/tsconfig.app.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/electron-backend/tsconfig.app.json b/apps/electron-backend/tsconfig.app.json index 46b5f34af..784ccb3b5 100644 --- a/apps/electron-backend/tsconfig.app.json +++ b/apps/electron-backend/tsconfig.app.json @@ -9,10 +9,12 @@ "**/*.spec.ts", "**/*.spec-data.ts", "**/*.test.ts", + "**/*.test-helpers.ts", "jest.config.ts", "src/**/*.spec.ts", "src/**/*.spec-data.ts", - "src/**/*.test.ts" + "src/**/*.test.ts", + "src/**/*.test-helpers.ts" ], "include": ["**/*.ts"] }