Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

test(engine): the registry fixture copies engine-numbers.js [B3,R3]

Corey Olson17cd9e329057
diff --git a/test/registry-merge.test.js b/test/registry-merge.test.js
index c84ab5bd..9f81aaea 100644
--- a/test/registry-merge.test.js
+++ b/test/registry-merge.test.js
@@ -73,7 +73,7 @@ test('two commands added at the same sorted spot merge without conflict [C7,V4]'
});
test('two engines added at the same sorted spot merge without conflict [C7,V4]', async (t) => {
- const engineFiles = ['machine.js', 'discovery.js', ...readdirSync(SOURCE).filter((file) => /-engine\.js$/u.test(file))];
+ const engineFiles = ['machine.js', 'discovery.js', 'engine-numbers.js', ...readdirSync(SOURCE).filter((file) => /-engine\.js$/u.test(file))];
const engine = (name, number) => ({ name, files: { [`${name}-engine.js`]: `/** An independent private engine. */\nexport const ${name.toUpperCase().replace(/-/gu, '_')}_ENGINE = ${number};\n` } });
const register = (root, addition) => listed('machine.js', " 'engine-52': 52,", ` '${addition.name}': ${addition.name.endsWith('alpha') ? 63 : 64},`)(root);
const repo = mergeTwo(t, { files: engineFiles, additions: [engine('check-alpha', 63), engine('check-beta', 64)], register });