Skip to content

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

test(storage-bypass): drop assertions for the removed sqlite opener

Steven Enamakel9d4393773c8e
diff --git a/scripts/__tests__/storage-bypass.test.mjs b/scripts/__tests__/storage-bypass.test.mjs
index 7ee4bc79e8..9289d63698 100644
--- a/scripts/__tests__/storage-bypass.test.mjs
+++ b/scripts/__tests__/storage-bypass.test.mjs
@@ -135,12 +135,7 @@ test("every allowlisted path carries a reason and known rules", () => {
}
}
const state = `${SRC}/config/workspace/state.rs`;
- const [site] = scan(state, "let conn = Connection::open(db_path)?;");
- assert.ok(allowed(state, site));
- assert.ok(!allowed(state, { ...site, rule: "json-write" }));
- assert.ok(
- !allowed(state, { ...site, text: "let c = Connection::open(other)?;" }),
- );
+ assert.equal(ALLOW.has(state), false, "the TSD facade removed the old SQLite opener");
});
test("a new database open fails the check", () => {