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(view): use an invalid credential in reuse proof [N26,N32]

Corey Olsoneac52092c449
diff --git a/test/resume-flow.test.js b/test/resume-flow.test.js
index b7404b1f..72610493 100644
--- a/test/resume-flow.test.js
+++ b/test/resume-flow.test.js
@@ -446,7 +446,7 @@ test('a reused authenticated view completes setup for its new board [N26,N32]',
const sessionPath = join(firstBoard.env.PULLBOARD_HOME, 'view-4890.json');
const sessionBytes = readFileSync(sessionPath);
try {
- writeFileSync(sessionPath, JSON.stringify({ ...JSON.parse(sessionBytes), secret: 'not-the-listener-secret' }));
+ writeFileSync(sessionPath, JSON.stringify({ ...JSON.parse(sessionBytes), secret: 'wrong' }));
const refused = refusedBoard.run(refusedBoard.repo, 'view', '--no-open', '--json');
assert.equal(refused.status, 1, refused.failure || refused.stderr || refused.stdout);
assert.equal(JSON.parse(refused.stdout).error.code, 'PORT_BUSY');