From 1b1e7319106c370bf85b757f4855135842c130e3 Mon Sep 17 00:00:00 2001 From: Patrick McElhaney Date: Sat, 18 Jan 2025 13:07:41 -0500 Subject: [PATCH] remove 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", () => {