Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

test: extend Windows opener timeout for slow CI runners

momoyeyu61811218e6b5
diff --git a/archify/test/open-artifact.test.mjs b/archify/test/open-artifact.test.mjs
index 41adf774..98d099a2 100644
--- a/archify/test/open-artifact.test.mjs
+++ b/archify/test/open-artifact.test.mjs
@@ -63,9 +63,10 @@ test('open artifact: uses argument arrays without shell interpolation on every s
test('open artifact: Windows PowerShell launches a real target', { skip: process.platform !== 'win32' }, () => {
// Use a bundled console executable so this exercises PowerShell without a browser.
+ // CI runners can cold-start PowerShell well beyond the 5s production default.
const systemRoot = process.env.SystemRoot ?? process.env.WINDIR ?? 'C:\\Windows';
const target = path.join(systemRoot, 'System32', 'where.exe');
- const result = openArtifact(target);
+ const result = openArtifact(target, { timeoutMs: 60_000 });
assert.deepEqual(result, {
requested: true,