diff --git a/src/components/SEBankIDQRCode/SEBankIDQRCode.test.tsx b/src/components/SEBankIDQRCode/SEBankIDQRCode.test.tsx index 50ae589..cc76e4a 100644 --- a/src/components/SEBankIDQRCode/SEBankIDQRCode.test.tsx +++ b/src/components/SEBankIDQRCode/SEBankIDQRCode.test.tsx @@ -6,7 +6,7 @@ describe('SEBankIDQRCode', function () { it('processes targetUrl as error response when necessary', async () => { const actual = await parseCompleteUrl('https://jwt.io/?test=yesdzxcsdadasd&error=access_denied&error_description=Collect%20failed%3A%20userCancel&state=etats'); - expect(actual).toBe({ + expect(actual).toStrictEqual({ location: 'https://jwt.io/?test=yesdzxcsdadasd&error=access_denied&error_description=Collect%20failed%3A%20userCancel&state=etats', response: { error: 'access_denied',