Skip to content

Refactor tests to use nock or similar #67

@newhouse

Description

@newhouse

Experience working with this project has led me to the opinion that the testing suite could use some improvements. Particularly, the way we mock server responses is a bit contrived and confusing due to the way we're trying to deal with / simulate the node-fetch responses. We should just use nock or something similar to define the responses from a spoofed server, and let node-fetch do it's real thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions