Skip to content

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

test(rust-coverage): cover all eight configurations reporting tests

Steven Enamakelb790c9ab7c61
diff --git a/scripts/__tests__/rust-coverage-status.test.mjs b/scripts/__tests__/rust-coverage-status.test.mjs
index 525f7b3e67..eeffa53375 100644
--- a/scripts/__tests__/rust-coverage-status.test.mjs
+++ b/scripts/__tests__/rust-coverage-status.test.mjs
@@ -261,3 +261,8 @@ test("private coverage cancels remaining suites but still preserves a report", (
assert.equal(calls.filter((line) => line.includes("llvm-cov nextest")).length, 1);
assert.equal(calls.filter((line) => line.includes("llvm-cov report")).length, 1);
});
+
+test("private coverage passes when all eight selected configurations report tests", () => {
+ const { status } = runMockedCoverage(0);
+ assert.equal(status, 0);
+});