[Pkg-javascript-commits] [node-mocks-http] 266/296: Fire 'end' event on response.redirect

Thorsten Alteholz alteholz at moszumanska.debian.org
Mon Feb 8 18:13:43 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 b0f07ebb6cf27358a9696952ee1f4b8054b725bc
Author: Vince Gatto <vgatto at gmail.com>
Date:   Fri Sep 25 13:54:52 2015 -0700

    Fire 'end' event on response.redirect
---
 lib/mockResponse.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/mockResponse.js b/lib/mockResponse.js
index bc49230..e4bb004 100644
--- a/lib/mockResponse.js
+++ b/lib/mockResponse.js
@@ -423,6 +423,7 @@ function createResponse(options) {
 
         }
 
+        mockResponse.emit('end');
     };
 
     /**

-- 
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