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