Skip to content

A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.

TypeScript

fix(e2e): keep daemon sources out of the e2e typecheck project

Alan Buscaglia5b466a871e46
diff --git a/e2e/serve.ts b/e2e/serve.ts
index c11351d..c343eb9 100644
--- a/e2e/serve.ts
+++ b/e2e/serve.ts
@@ -16,4 +16,6 @@ process.env.GENTLE_DOT_AGENT_BIN = process.execPath;
process.env.GENTLE_DOT_AGENT_ARGS = JSON.stringify([
fileURLToPath(new URL("../packages/daemon/test/fixtures/fake-agent.ts", import.meta.url)),
]);
-await import("../packages/daemon/src/cli.ts");
+// A non-literal specifier keeps the daemon sources out of this tsconfig project.
+const cli = "../packages/daemon/src/cli.ts";
+await import(cli);