From 47ce460ca911ae90e204998d381f888783d254bc Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Wed, 19 Jul 2023 10:04:09 +0200 Subject: [PATCH] test(refactor): use 'toEqual' instead of 'toStrictEqual' for Responses More context in https://github.com/octokit/core.js/issues/588 --- test/smoke.test.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/smoke.test.ts b/test/smoke.test.ts index 7f910882..34565081 100644 --- a/test/smoke.test.ts +++ b/test/smoke.test.ts @@ -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"])(