From f45d7dee7d259bf25b1a2e57d333b9733bb3d237 Mon Sep 17 00:00:00 2001 From: Vladyslav Kovalchuk Date: Mon, 1 Jun 2026 22:14:48 +0300 Subject: [PATCH] fix(desktop): add @testing-library/dom as explicit dev dependency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @testing-library/react@16 declares @testing-library/dom as a peerDependency and re-exports waitFor/fireEvent/screen/within from it. Without dom installed as a direct dependency, tsc -b fails with TS2305 in every test file that imports those names — which breaks the apps/desktop build during installer bootstrap (Hermes Setup → "INSTALL DIDN'T FINISH"). --- apps/desktop/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 15bb812b4..4bd0bc2e3 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -97,6 +97,7 @@ }, "devDependencies": { "@eslint/js": "^9.39.4", + "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.3.2", "@types/hast": "^3.0.4", "@types/node": "^24.12.2",