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

10 lines
221 B
JavaScript

'use strict';
require('../common');
var assert = require('assert');
// Test that allocating a timer does not increase the loop's reference
// count.
var Timer = process.binding('timer_wrap').Timer;
var t = new Timer();