Skip to content

The agent that grows with you

test(desktop-e2e): drop the packaged smoke's now-unused repo-root import

ethernet8d8edf4cdadd
diff --git a/apps/desktop/e2e/core/packaged-smoke.spec.ts b/apps/desktop/e2e/core/packaged-smoke.spec.ts
index 53aa40f88ee..af9c03a2930 100644
--- a/apps/desktop/e2e/core/packaged-smoke.spec.ts
+++ b/apps/desktop/e2e/core/packaged-smoke.spec.ts
@@ -45,7 +45,6 @@ import {
currentSessionId,
DESKTOP_ROOT,
recordWebSockets,
- REPO_ROOT,
sandboxProcesses,
send,
storedSessionForMarker,
@@ -74,6 +73,7 @@ interface BuildConfig {
}
const builderRequire = createRequire(path.join(DESKTOP_ROOT, 'package.json'))
+
// Playwright's TS loader intercepts CJS require() of the config's ESM hooks.
// Load it in plain Node, exactly as electron-builder does.
const BUILD = JSON.parse(