Skip to content

Commit

Permalink
try creating a new testClient
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutiburman committed Nov 19, 2023
1 parent 82b93ad commit 4586b04
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/client/src/client.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4586b04

Please sign in to comment.