node/test/pummel/test-timer-wrap2.js
Rich Trott 6abd8b587e test: remove unused modules
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>
2016-01-01 16:37:02 -08:00

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();