mirror of
https://github.com/nodejs/node.git
synced 2025-05-19 20:06:58 +00:00

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>
9 lines
181 B
JavaScript
9 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();
|