Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: avoid unused DOM startup in cache isolation proofs (#13103)

Adam Eivyb9c0b1d445bd
diff --git a/scripts/lib/workspaceCacheFixture.js b/scripts/lib/workspaceCacheFixture.js
index 759bda238e..5d72b29116 100644
--- a/scripts/lib/workspaceCacheFixture.js
+++ b/scripts/lib/workspaceCacheFixture.js
@@ -81,6 +81,9 @@ function checkout(host, name, workspace, configName, dependencies) {
if (configAt === -1) args.push('--config', join(root, configName));
else args[configAt + 1] = join(root, configName);
args.push('--root', root, '--maxWorkers', '1');
+ // This proof exercises cache publication, not DOM behavior. Three client
+ // launches otherwise pay for happy-dom against one 15s enclosing budget.
+ if (workspace === 'client') args.push('--environment', 'node');
// Test roots and the caller's cwd differ from the config's parent directory.
const cwd = join(parent, 'caller');
mkdirSync(cwd);