dupertest
dupertest copied to clipboard
A Node library for testing controller actions without having to spin up a server. Because unit testing controllers in Node should be easier.
Results
4
dupertest issues
Sort by
recently updated
recently updated
newest added
Resolves #11 Thanks to @SeanCannon
**supertest** API at the time of this writing works like this: ``` javascript request(...) ... .end(function idiomaticNodeCallback(error, response) { }); ``` **dupertest**, in other hand, works like this: ``` javascript...
This is already done but looks like there wasn't a pull request made. https://github.com/SeanCannon/dupertest/commit/5a6a3d5437b08a42cc90f9277050dd14c7fb5665
… to pass through object into response. As discussed in #11... allows override of send which otherwise gets squashed in `request.end()`.