mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-22 04:40:44 +02:00
add gstack 2 parity and lifecycle gates
This commit is contained in:
@@ -45,6 +45,13 @@ describe("security-sidecar-client — availability probe", () => {
|
||||
expect(typeof result.reason).toBe("string");
|
||||
}
|
||||
});
|
||||
|
||||
test("never sends the TypeScript model downloader directly to plain Node", async () => {
|
||||
const { findSecuritySidecar } = await import("../src/find-security-sidecar");
|
||||
const location = findSecuritySidecar();
|
||||
expect(location === null || location.mode === "compiled").toBe(true);
|
||||
expect(location?.entry.endsWith(".ts") ?? false).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
describe("security-sidecar-client — circuit breaker after repeated failures", () => {
|
||||
|
||||
Reference in New Issue
Block a user