Skip to content

Commit

Permalink
test(refactor): use 'toEqual' instead of 'toStrictEqual' for Responses
Browse files Browse the repository at this point in the history
More context in octokit/core.js#588
  • Loading branch information
oscard0m committed Jul 19, 2023
1 parent d53dede commit 47ce460
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/smoke.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ describe("Smoke test", () => {
title: "My test issue",
});

// TODO: need a follow up issue to clean this up
expect(JSON.stringify(data)).toStrictEqual(JSON.stringify({ ok: true }));
expect(data).toEqual({ ok: true });
});

it.each(["HTTPS_PROXY", "https_proxy", "HTTP_PROXY", "http_proxy"])(
Expand Down

0 comments on commit 47ce460

Please sign in to comment.