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 19, 2023
1 parent af38041 commit 3678025
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/client/src/client.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3098,7 +3098,8 @@ describe('setDataResidency', () => {
sgClient.setDataResidency('eu');
console.log(sgClient);
console.log('Actual:', sgClient.defaultRequest.baseUrl);
it('should have host as eu', () => {
expect(sgClient.defaultRequest.baseUrl).to.equal('api.eu.sendgrid.com');
it('should have hostname as global', () => {
console.log(sgClient);
expect(this.sgClient.defaultRequest.baseUrl).to.equal('api.eu.sendgrid.com');
});
});

0 comments on commit 3678025

Please sign in to comment.