eugef / node-mocks-http

Mock 'http' objects for testing Express routing functions
Other
747 stars 131 forks source link

Add Fetch API types as accepted mock parameters #291

Open mhaligowski opened 6 months ago

mhaligowski commented 6 months ago

Adds Fetch API's Request and Response objects to accepted generic types, allowing for using objects that extend this, e.g. NextJS App Router.

fixes #233

github-actions[bot] commented 3 months ago

Stale pull request message

mhaligowski commented 3 months ago

@eugef what's up with this? I guess I need to update the branch, right?

eugef commented 3 months ago

Hi @mhaligowski

If you can run npm run format and commit the changes then I would be able to merge this PR

github-actions[bot] commented 1 week ago

Stale pull request message