diff --git a/packages/client/src/client.spec.js b/packages/client/src/client.spec.js index 93598893..161aee9d 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();