Skip to content

Commit

Permalink
Update client.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shrutiburman committed Nov 23, 2023
1 parent a6671be commit 68bee09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/client.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';
const nock = require('nock');
const sgClient = require('./client');
const testClient = require('./client');
let testClient = require('./client');
const testRequest = (request, statusCode) => {
const sgClient = require('./client');
sgClient.setApiKey('SG.API Key');
Expand Down Expand Up @@ -3095,7 +3095,7 @@ describe('test_whitelabel_links__link_id__subuser_post', () => {

describe('setDataResidency', () => {
let consoleWarnSpy;
let testClient = require('./client');
let Client = require('./client');
beforeEach(() => {
testClient = new Client();
consoleWarnSpy = sinon.spy(console, 'warn');
Expand Down

0 comments on commit 68bee09

Please sign in to comment.