From e4096737f01d86b7658fe5f656bf7fe7ce01dc68 Mon Sep 17 00:00:00 2001 From: Adrienne Rio Date: Fri, 7 Feb 2025 15:36:46 +0800 Subject: [PATCH] chore: fix failing test cases --- src/constants/__tests__/urls.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constants/__tests__/urls.spec.ts b/src/constants/__tests__/urls.spec.ts index 4ea4197..4a571ba 100644 --- a/src/constants/__tests__/urls.spec.ts +++ b/src/constants/__tests__/urls.spec.ts @@ -114,7 +114,7 @@ describe('URLs', () => { const oauthUrl = getOauthUrl(); - expect(oauthUrl).toBe('https://qa.deriv.com/oauth2/authorize?app_id=67890&l=EN&&brand=deriv'); + expect(oauthUrl).toBe('https://qa.deriv.com/oauth2/authorize?app_id=67890&l=EN&brand=deriv'); }); it('should return the default OAuth URL if appId and serverUrl are not set', () => { @@ -136,7 +136,7 @@ describe('URLs', () => { const oauthUrl = getOauthUrl(); - expect(oauthUrl).toBe('https://qa.deriv.com/oauth2/authorize?app_id=67890&l=EN&&brand=deriv'); + expect(oauthUrl).toBe('https://qa.deriv.com/oauth2/authorize?app_id=67890&l=EN&brand=deriv'); }); });