From 2f7d990e9260fa4a24ca526da63f86f55391367b Mon Sep 17 00:00:00 2001 From: sburman Date: Thu, 23 Nov 2023 18:36:02 +0530 Subject: [PATCH] Update client.spec.js --- packages/client/src/client.spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/client/src/client.spec.js b/packages/client/src/client.spec.js index f931d5d4..51d4233a 100644 --- a/packages/client/src/client.spec.js +++ b/packages/client/src/client.spec.js @@ -3095,9 +3095,8 @@ describe('test_whitelabel_links__link_id__subuser_post', () => { describe('setDataResidency', () => { let consoleWarnSpy; - let Client = require('./client'); beforeEach(() => { - testClient = new Client(); + testClient = require('./client'); consoleWarnSpy = sinon.spy(console, 'warn'); }); afterEach(() => {