Closed sean-roberts closed 9 years ago
Was going to work on a PR but I am not entirely following how your testing is set up
Thanks for taking the time to report and submit a PR!
I've merged your PR, added mochify to the devDep
s and added a scripts.test
key to the package.json
.
Published in 1.3.2
.
Yep np!
currently, req.body() always returns undefined. I think it's a simple adding of
this.body(xhr.data);
in the MockRequest constructor.