Many tests use require() to import modules that subsequently never gets used. This removes those imports and, in a few cases, removes other unused variables from tests. PR-URL: https://github.com/nodejs/node/pull/4475 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
8 lines
181 B
JavaScript
8 lines
181 B
JavaScript
'use strict';
|
|
require('../common');
|
|
|
|
// Test that allocating a timer does not increase the loop's reference
|
|
// count.
|
|
|
|
var Timer = process.binding('timer_wrap').Timer;
|
|
new Timer();
|