From 0b871a00f3cf4b09d2bd89a9ec03b4d435bb550f Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Wed, 19 Jul 2023 16:17:40 +0200 Subject: [PATCH] test(refactor): test(refactor): use 'toEqual' instead of 'toMatchObject' for Responses More context in https://github.com/octokit/core.js/pulls/588 --- test/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/index.test.ts b/test/index.test.ts index 100da8ab5..4e1e465b7 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -1853,7 +1853,7 @@ test("auth.hook(): handle 401 in first 5 seconds (#65)", async () => { expect(error.status).toEqual(401); } - expect(data).toMatchObject({ id: 123 }); + expect(data).toEqual({ id: 123 }); expect(mock.done()).toBe(true); // @ts-ignore