cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csantan...@apache.org
Subject cordova-cli git commit: CB-10860 avoid node complaining of too many event listener added when running tests
Date Mon, 14 Mar 2016 12:56:48 GMT
Repository: cordova-cli
Updated Branches:
  refs/heads/master 04b38715d -> 19a735bf6


CB-10860 avoid node complaining of too many event listener added when running tests


Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/19a735bf
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/19a735bf
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/19a735bf

Branch: refs/heads/master
Commit: 19a735bf6492359bb6bf84f3b186625012f408dc
Parents: 04b3871
Author: Carlos Santana <csantana23@gmail.com>
Authored: Mon Mar 14 08:56:30 2016 -0400
Committer: Carlos Santana <csantana23@gmail.com>
Committed: Mon Mar 14 08:56:30 2016 -0400

----------------------------------------------------------------------
 spec/cli.spec.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/19a735bf/spec/cli.spec.js
----------------------------------------------------------------------
diff --git a/spec/cli.spec.js b/spec/cli.spec.js
index 7881614..ee8adba 100644
--- a/spec/cli.spec.js
+++ b/spec/cli.spec.js
@@ -22,6 +22,9 @@ var cli = require("../src/cli"),
     cordova_lib = require('cordova-lib'),
     events = cordova_lib.events,
     cordova = cordova_lib.cordova;
+    
+    //avoid node complaining of too many event listener added
+    process.setMaxListeners(0);
 
 describe("cordova cli", function () {
     beforeEach(function () {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message