Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(e2e): update shard test assertions

Steven Enamakelfb78625b6188
diff --git a/scripts/__tests__/e2e-web-shards.test.mjs b/scripts/__tests__/e2e-web-shards.test.mjs
index d72160b216..732ddbf394 100644
--- a/scripts/__tests__/e2e-web-shards.test.mjs
+++ b/scripts/__tests__/e2e-web-shards.test.mjs
@@ -169,9 +169,9 @@ fi
assert.equal(calls.length, 18, "later assigned units still run after failure");
const [, firstOutput] = calls[0].split("|");
const [, secondOutput] = calls[1].split("|");
- assert.notEqual(firstOutput, secondOutput);
assert.ok(path.isAbsolute(firstOutput));
assert.ok(fs.existsSync(path.join(firstOutput, "trace.zip")));
+ assert.notEqual(firstOutput, secondOutput);
assert.equal(
fs.readFileSync(path.join(workspace, "lane-4/receipts/special-3.exit"), "utf8").trim(),
"1",