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 20, 2023
1 parent 9d3a5f5 commit c83c352
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/client/src/client.spec.js
Original file line number Diff line number Diff line change
@@ -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');
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit c83c352

Please sign in to comment.