[Pkg-javascript-commits] [node-mocks-http] 63/296: Merge pull request #29 from fidemapps/master

Thorsten Alteholz alteholz at moszumanska.debian.org
Mon Feb 8 18:13:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

alteholz pushed a commit to branch master
in repository node-mocks-http.

commit cf917d3e30d617a8cbc48134757ac34fbcdfffa1
Merge: 3d04c38 b95261f
Author: Howard Abrams <howardabrams at users.noreply.github.com>
Date:   Tue Jan 6 12:14:36 2015 -0800

    Merge pull request #29 from fidemapps/master
    
    Fix a little issue when we set the status (with the status()) before setting up the json body (with the json()).  Now, the call chain work correclty.  res.status(201).json({}).

 examples/express-status-vs-json.js | 51 ++++++++++++++++++++++++++++++++++++++
 lib/mockResponse.js                |  5 +++-
 test/test-mockResponse.js          | 12 +++++++++
 3 files changed, 67 insertions(+), 1 deletion(-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocks-http.git



More information about the Pkg-javascript-commits mailing list