blob: fde5508c2f3bc79e321c04141122a1fd8837b703 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
'use strict';
const common = require('../../common');
const binding = require(`./build/${common.buildType}/binding`);
// Create an AsyncWrap object.
const timer = setTimeout(common.mustNotCall(), 1);
timer.unref();
// Stress-test the heap profiler.
binding.test();
clearTimeout(timer);
|