11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ciconst common = require('../common'); 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ciif (!common.isMainThread) { 61cb0ef41Sopenharmony_ci // Note that test-timers-immediate-unref-nested-once works instead. 71cb0ef41Sopenharmony_ci common.skip('Worker bootstrapping works differently -> different timing'); 81cb0ef41Sopenharmony_ci} 91cb0ef41Sopenharmony_ci 101cb0ef41Sopenharmony_ci// This immediate should not execute as it was unrefed 111cb0ef41Sopenharmony_ci// and nothing else is keeping the event loop alive 121cb0ef41Sopenharmony_cisetImmediate(common.mustNotCall()).unref(); 13