node-mocks-http icon indicating copy to clipboard operation
node-mocks-http copied to clipboard

Add Fetch API types as accepted mock parameters

Open mhlgio opened this issue 2 years ago • 4 comments

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

mhlgio avatar Jan 07 '24 08:01 mhlgio

Stale pull request message

github-actions[bot] avatar Mar 17 '24 00:03 github-actions[bot]

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

mhlgio avatar Apr 02 '24 16:04 mhlgio

Hi @mhaligowski

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

eugef avatar Apr 03 '24 12:04 eugef

Stale pull request message

github-actions[bot] avatar Jun 29 '24 00:06 github-actions[bot]

Hi @mhaligowski

Can you please run npm run format and commit the changes

eugef avatar Aug 28 '24 13:08 eugef

@eugef sorry, on it!

mhlgio avatar Sep 04 '24 01:09 mhlgio

@mhaligowski no problem, thanks for updating PR

eugef avatar Sep 09 '24 15:09 eugef