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

'links' function not defined

Open mocotrah opened this issue 1 year ago • 3 comments

Hi, I have a test using the Express Response.links function. When I use node-mocks-http it gives an error stating that the function 'links' is not defined. Is it possible you implement this? Thanks.

mocotrah avatar Feb 12 '24 16:02 mocotrah

Hi @mocotrah, indeed mock for links() function is not implemented .

This project depends heavily on bug fixes and feature improvements from various collaborators. So, if you need this feature urgently, the most straightforward option is to create a pull request with a fix.

eugef avatar Feb 14 '24 10:02 eugef

Stale issue message

github-actions[bot] avatar Apr 15 '24 03:04 github-actions[bot]

Stale issue message

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

Stale issue message

github-actions[bot] avatar Aug 24 '24 01:08 github-actions[bot]