Skip to content

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

test(tests): update self-hosted lanes test assertion

Steven Enamakele85e92014185
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjs
index 765d0f346b..c8f71810c7 100644
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@ -374,9 +374,10 @@ test("a browser-spec-only change runs the full-inventory skip guard without scri
"node scripts/ci/check-browser-test-skips.mjs",
);
assert.equal(
- frontendOnly.lanes.find((lane) => lane.name === "scripts-self-tests")
- ?.active ?? false,
- true,
+ frontendOnly.lanes
+ .find((lane) => lane.name === "frontend")
+ .checks.find((check) => check.name === "e2e-runner-ownership")?.run,
+ "pnpm e2e:ownership:check",
);
const filters = fs.readFileSync(