From da4e470061d0fe05c06c772c0d668d4efab51bfd Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Mon, 20 Jan 2025 15:33:06 +1100 Subject: [PATCH] Switched to deep equality instead of reference equality. --- .../src/__tests__/api/auth/security/invalid-token.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/end-to-end/src/__tests__/api/auth/security/invalid-token.test.ts b/src/packages/end-to-end/src/__tests__/api/auth/security/invalid-token.test.ts index 15a17287a..2f9fdd5f1 100644 --- a/src/packages/end-to-end/src/__tests__/api/auth/security/invalid-token.test.ts +++ b/src/packages/end-to-end/src/__tests__/api/auth/security/invalid-token.test.ts @@ -74,7 +74,7 @@ describe('Security', () => { }); assert(response.body.kind === 'single'); - expect(response.body.singleResult.data).toBe({ tags: null }); + expect(response.body.singleResult.data).toEqual({ tags: null }); expect(response.http.headers.get('X-Auth-Redirect')).toBe( `${process.env.AUTH_BASE_URI}/auth/login?redirect_uri=${encodeURIComponent( process.env.AUTH_BASE_URI + '/'