Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Fix the merged guard test (#962)

Nguyen Xuan And91e712c5c50
diff --git a/tests/agent-bench.test.js b/tests/agent-bench.test.js
index 5b0519a8..1e468797 100644
--- a/tests/agent-bench.test.js
+++ b/tests/agent-bench.test.js
@@ -97,6 +97,7 @@ test('the run guard kills a run that reaches its time limit', async () => {
await new Promise(resolveWait => setTimeout(resolveWait, 60));
assert.equal(kills, 1);
assert.equal(guard.reason, 'timeout');
+});
const readFixture = name => readFileSync(new URL(`./fixtures/agent-bench/${name}.jsonl`, import.meta.url), 'utf8');