11cb0ef41Sopenharmony_ci'use strict'; 21cb0ef41Sopenharmony_ci 31cb0ef41Sopenharmony_ciconst common = require('../common'); 41cb0ef41Sopenharmony_ciconst async_hooks = require('async_hooks'); 51cb0ef41Sopenharmony_ciconst fs = require('fs'); 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ciconst nestedHook = async_hooks.createHook({ 81cb0ef41Sopenharmony_ci init: common.mustCall() 91cb0ef41Sopenharmony_ci}); 101cb0ef41Sopenharmony_ci 111cb0ef41Sopenharmony_ciasync_hooks.createHook({ 121cb0ef41Sopenharmony_ci init: common.mustCall(() => { 131cb0ef41Sopenharmony_ci nestedHook.enable(); 141cb0ef41Sopenharmony_ci }, 2) 151cb0ef41Sopenharmony_ci}).enable(); 161cb0ef41Sopenharmony_ci 171cb0ef41Sopenharmony_cifs.access(__filename, common.mustCall(() => { 181cb0ef41Sopenharmony_ci fs.access(__filename, common.mustCall()); 191cb0ef41Sopenharmony_ci})); 20