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 9f82ef5 commit f6c088d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/client/src/client.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3102,10 +3102,9 @@ describe('setDataResidency', () => {
afterEach(() => {
console.warn.restore();
});

it('should have default value of hostname as https://api.sendgrid.com/', () => {
expect(testClient.defaultRequest.baseUrl).to.equal('https://api.sendgrid.com/');
expect(testClient.region).to.equal('');
expect(testClient.sendgrid_region).to.equal('');
});
it('should send to host EU', () => {
testClient.setDataResidency('eu');
Expand Down

0 comments on commit f6c088d

Please sign in to comment.