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): compare replay serialization exactly [H3,H16]

Corey Olsoncf0554c23272
diff --git a/test/move-registry.test.js b/test/move-registry.test.js
index 3887383a..4f1026c9 100644
--- a/test/move-registry.test.js
+++ b/test/move-registry.test.js
@@ -59,7 +59,7 @@ test('today\'s move order, actors, recovery text and recorded SQLite prefix are
assert.deepEqual(applyEngineMove(board, move, options), outcome, move.operation);
assert.deepEqual(applyEngineMove(board, move, options), outcome, 'same-position retry returns its immutable receipt');
}
- assert.deepEqual(exportBoard(board), SNAPSHOT.replay.expected, 'items, events, receipts and replay cursor retain their recorded bytes');
+ assert.equal(JSON.stringify(exportBoard(board)), JSON.stringify(SNAPSHOT.replay.expected), 'items, events, receipts and replay cursor retain their recorded bytes');
});
test('two new board moves declared in two files need no edit to engine.js, relay-sender.js or next-step-words.js [C7,V4,H3,H16]', t => {