diff --git a/packages/client/src/client.spec.js b/packages/client/src/client.spec.js index 536515615..9bf38fe15 100644 --- a/packages/client/src/client.spec.js +++ b/packages/client/src/client.spec.js @@ -3096,8 +3096,8 @@ describe('test_whitelabel_links__link_id__subuser_post', () => { describe('setDataResidency', () => { const sgClient = require('./client'); sgClient.setDataResidency('eu'); - + console.log(sgClient); it('should have host as eu', () => { - expect(sgClient.baseUrl).to.equal('api.eu.sendgrid.com'); + expect(sgClient.defaultRequest.baseUrl).to.equal('api.eu.sendgrid.com'); }); });