Permalink
Browse files

Upgraded packages

  • Loading branch information...
1 parent 575fe12 commit e3a387d854339ba84943ba69b06c6f85f6ff7570 @3rd-Eden committed Jun 26, 2012
Showing with 4 additions and 10 deletions.
  1. +3 −4 package.json
  2. +1 −6 test/connectionpool.test.js
View
@@ -18,8 +18,7 @@
"retry": "0.6.0"
},
"devDependencies": {
- "mocha": "1.2.0",
- "chai": "1.0.4"
- },
- "optionalDependencies": {}
+ "mocha": "1.2.1",
+ "chai": "1.1.0"
+ }
}
@@ -171,13 +171,8 @@ describe('connectionpool', function () {
, count = 0
, allocations = 50;
- var backup = [];
-
pool.factory(function factory() {
- var conn = net.connect(port, host);
-
- backup.push(conn);
- return conn;
+ return net.connect(port, host);
});
/**

0 comments on commit e3a387d

Please sign in to comment.