node/test/pummel/test-timer-wrap2.js

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