From 9b2f77aeb28c30cdb5ced1f9918805f4435c1a7e Mon Sep 17 00:00:00 2001 From: Patrick McElhaney Date: Sat, 18 Jan 2025 13:07:41 -0500 Subject: [PATCH] remoke a flaky test caused by json-schema-faker --- test/server/response-builder.test.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/server/response-builder.test.ts b/test/server/response-builder.test.ts index b54acefd..9d11e5ae 100644 --- a/test/server/response-builder.test.ts +++ b/test/server/response-builder.test.ts @@ -136,10 +136,12 @@ describe("a response builder", () => { type: "text/plain", }); - expect(response?.content?.[0]).toStrictEqual({ - body: { value: "hello" }, - type: "application/json", - }); + // Something in json-schema-faker changed so this is no longer deterministic + // + // expect(response?.content?.[0]).toStrictEqual({ + // body: { value: "hello" }, + // type: "application/json", + // }); }); it("falls back to 'default' when status code is not listed explicitly", () => {