From c83c3526ea25eed6d5dd2afa9cb0eaadf50b6484 Mon Sep 17 00:00:00 2001 From: sburman Date: Mon, 20 Nov 2023 12:03:35 +0530 Subject: [PATCH] Update client.spec.js --- packages/client/src/client.spec.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/client/src/client.spec.js b/packages/client/src/client.spec.js index 4d5e08de..663bde43 100644 --- a/packages/client/src/client.spec.js +++ b/packages/client/src/client.spec.js @@ -1,7 +1,5 @@ 'use strict'; const nock = require('nock'); -const sgClient = require('./client'); -const testClient = require('./client'); const testRequest = (request, statusCode) => { const sgClient = require('./client'); @@ -3102,7 +3100,6 @@ describe('test client', () => { testClient.setDataResidency('eu'); sgClient.setDataResidency('eu'); console.log('Actual:', testClient.defaultRequest.baseUrl); - expect(testClient.defaultRequest.baseUrl).to.equal('api.eu.sendgrid.com'); it('should have hostname as global', () => { console.log(testClient); expect(testClient.defaultRequest.baseUrl).to.equal('api.eu.sendgrid.com');