From 4586b042e9e263b45fca101e8db9ee650f7554d0 Mon Sep 17 00:00:00 2001 From: sburman Date: Sun, 19 Nov 2023 18:44:19 +0530 Subject: [PATCH] try creating a new testClient --- packages/client/src/client.spec.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/client/src/client.spec.js b/packages/client/src/client.spec.js index 935988933..161aee9d1 100644 --- a/packages/client/src/client.spec.js +++ b/packages/client/src/client.spec.js @@ -3095,7 +3095,12 @@ describe('test_whitelabel_links__link_id__subuser_post', () => { describe('test client', () => { - const testClient = require('./client'); + let testClient; + + beforeEach(() => { + // Create a new instance of testClient before each test + testClient = require('./client'); + }); afterEach(() => { console.warn.restore();