node-mocks-http
Advanced tools
Changelog
v 1.6.1
cookie()
and clearCookie()
finished
to the responseChangelog
v 1.5.4
write
method from json method of responseMock
[PR #98][98]Changelog
v 1.5.3
.format
to the mockResponse
object [PR #94][94].location
to the mockResponse
object [PR #96][96]createMocks
to create both mocks with correct referencesChangelog
v 1.5.2
mockResponse.writeHead
[#92][92]req.param
not returning when false [#82][82]Changelog
v 1.5.0
Documentation changes, a new feature, and better behaviors, including:
jsonp
method that takes a status code and a payload, see [PR #79][79]end
when redirecting, see [PR #77][77]Changelog
v 1.4.4
Bug fix release, including the following: