Skip to content

Commit

Permalink
Merge pull request #1168 from pmcelhaney/remove-flaky-test
Browse files Browse the repository at this point in the history
remoke a flaky test caused by json-schema-faker
  • Loading branch information
pmcelhaney authored Jan 18, 2025
2 parents 122f740 + 92ed07d commit 69a554c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions test/server/response-builder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
Expand Down

0 comments on commit 69a554c

Please sign in to comment.