Skip to content

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

test: include update helper in isolated delivery race fixture

tt-a1icdd19b5cf1c9
diff --git a/archify/test/output-path.test.mjs b/archify/test/output-path.test.mjs
index 340afebe..85b808c1 100644
--- a/archify/test/output-path.test.mjs
+++ b/archify/test/output-path.test.mjs
@@ -273,6 +273,10 @@ test('deliver rechecks aliases immediately before committing a verified candidat
fs.mkdirSync(installedRenderer, { recursive: true });
fs.mkdirSync(installedScripts, { recursive: true });
fs.copyFileSync(cli, path.join(installedBin, 'archify.mjs'));
+ fs.copyFileSync(
+ path.join(skillRoot, 'bin/delivery-update.mjs'),
+ path.join(installedBin, 'delivery-update.mjs'),
+ );
fs.copyFileSync(
path.join(skillRoot, 'renderers/shared/output-path.mjs'),
path.join(installedShared, 'output-path.mjs'),
@@ -338,6 +342,7 @@ console.log(JSON.stringify({
encoding: 'utf8',
env: {
...process.env,
+ ARCHIFY_UPDATE_CHECK_DISABLED: '1',
ARCHIFY_TEST_RENDER_STARTED: marker,
ARCHIFY_TEST_RENDER_RELEASE: release,
},