Skip to content

tests: figure out a way to not actually hit the CoinGecko endpoint in a test context  #17

@Zidious

Description

@Zidious

We should really not hit a live GET endpoint while testing locally or through the github action.

Potential solutions:

  1. use Nock to intercept the endpoint (this may not work outside of a testing context as we are using a CLI)
  2. a local server that can mimic the response from the endpoint provided by the API, although we have no way to set the URL within the CLI or API package

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerstestsIssues related to tests / testing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions