1'use strict'; 2 3const common = require('../common'); 4 5if (!common.isMainThread) { 6 // Note that test-timers-immediate-unref-nested-once works instead. 7 common.skip('Worker bootstrapping works differently -> different timing'); 8} 9 10// This immediate should not execute as it was unrefed 11// and nothing else is keeping the event loop alive 12setImmediate(common.mustNotCall()).unref(); 13