test: tighten status json runtime result assertion

This commit is contained in:
Peter Steinberger
2026-05-09 05:49:05 +01:00
parent 8f786b25a2
commit fdc8726e46

View File

@@ -101,7 +101,10 @@ describe("status-json-runtime", () => {
],
}),
);
expect(result).toEqual({ built: true, input: expect.any(Object) });
expect(result).toEqual({
built: true,
input: mocks.buildStatusJsonPayload.mock.calls[0][0],
});
});
it("skips optional sections when flags are off", async () => {