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');