Move tests from nock to HS demo API for consistency
Note:RemoteType and OwnerType are not really explained in the API doculmentation, then i don't really know which presets exists. If you've them i can easily improve types.
I've moved from nock to HS demo API for one reason, for a project like this one, which wrap an API which is maintained by other devs you can't trust at 100% your work. To avoid mistypings due to undocumented changes the best way is dealing with the API. The test duration is not a big issue and adding a daily test job let you know when the package is no anymore compliant with the current API version.
Why:
Note:
RemoteType
andOwnerType
are not really explained in the API doculmentation, then i don't really know which presets exists. If you've them i can easily improve types.I've moved from nock to HS demo API for one reason, for a project like this one, which wrap an API which is maintained by other devs you can't trust at 100% your work. To avoid mistypings due to undocumented changes the best way is dealing with the API. The test duration is not a big issue and adding a daily test job let you know when the package is no anymore compliant with the current API version.
Maybe am i wrong, but i don't think.
Related issues: #181 and #182