update tests to use new timer object

This commit is contained in:
Spencer Alger
2015-01-09 23:23:06 -07:00
parent 547ff26104
commit 3b69e21262
5 changed files with 31 additions and 39 deletions

View File

@ -33,7 +33,7 @@ process.once('message', function (port) {
var out = {
socketCount: err || sockets.length,
remaining: _.where(sockets, { destroyed: true }).length - sockets.length,
timeouts: _.size(clock.timeouts) && _.pluck(clock.timeouts, 'func').map(String)
timeouts: _.size(clock.timers) && _.pluck(clock.timers, 'func').map(String)
};
clock.restore();