MadKudu / node-hubspot

Node wrapper for the HubSpot API
MIT License
192 stars 157 forks source link

Stub out contact_properties api calls in tests #144

Closed MattMSumner closed 5 years ago

MattMSumner commented 5 years ago

Why:

These tests can fail in CI and depend on an API key being available.

This PR:

Removes the need for an API key by using oauth but also mocks out all the api requests so it can run consistently in CI.

This also updates the endpoint to be accurate. The previous value currently redirects to the new value.