Skip to content

Commit

Permalink
fix test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
mickhansen committed Nov 24, 2023
1 parent dc70466 commit acc629e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SEBankIDQRCode/SEBankIDQRCode.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit acc629e

Please sign in to comment.