mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-21 20:30:47 +02:00
fix(gstack2): harden integrated runtime verification
This commit is contained in:
@@ -101,10 +101,15 @@ describe("capability readiness", () => {
|
||||
expect(exit).toBe(1);
|
||||
expect(stderr.value()).toBe("");
|
||||
expect(result).toMatchObject({
|
||||
ok: false,
|
||||
capability: "pdf",
|
||||
judgment: { status: "available" },
|
||||
readiness: { status: "unavailable" },
|
||||
schemaVersion: 1,
|
||||
status: "degraded",
|
||||
code: "CAPABILITY_UNAVAILABLE",
|
||||
data: {
|
||||
ok: false,
|
||||
capability: "pdf",
|
||||
judgment: { status: "available" },
|
||||
readiness: { status: "unavailable" },
|
||||
},
|
||||
});
|
||||
} finally {
|
||||
await fs.rm(root, { recursive: true, force: true });
|
||||
|
||||
Reference in New Issue
Block a user