diff --git a/test/addons/heap-profiler/test.js b/test/addons/heap-profiler/test.js index c9974a060ad..fde5508c2f3 100644 --- a/test/addons/heap-profiler/test.js +++ b/test/addons/heap-profiler/test.js @@ -5,7 +5,7 @@ const common = require('../../common'); const binding = require(`./build/${common.buildType}/binding`); // Create an AsyncWrap object. -const timer = setTimeout(common.noop, 1); +const timer = setTimeout(common.mustNotCall(), 1); timer.unref(); // Stress-test the heap profiler.