11cb0ef41Sopenharmony_ci// Flags: --expose-internals 21cb0ef41Sopenharmony_ci'use strict'; 31cb0ef41Sopenharmony_cirequire('../common'); 41cb0ef41Sopenharmony_ciconst { validateSnapshotNodes } = require('../common/heap'); 51cb0ef41Sopenharmony_ci 61cb0ef41Sopenharmony_civalidateSnapshotNodes('Node / ChannelWrap', []); 71cb0ef41Sopenharmony_ciconst dns = require('dns'); 81cb0ef41Sopenharmony_civalidateSnapshotNodes('Node / ChannelWrap', [{}]); 91cb0ef41Sopenharmony_cidns.resolve('localhost', () => {}); 101cb0ef41Sopenharmony_civalidateSnapshotNodes('Node / ChannelWrap', [ 111cb0ef41Sopenharmony_ci { 121cb0ef41Sopenharmony_ci children: [ 131cb0ef41Sopenharmony_ci { node_name: 'Node / NodeAresTask::List', edge_name: 'task_list' }, 141cb0ef41Sopenharmony_ci // `Node / ChannelWrap` (C++) -> `ChannelWrap` (JS) 151cb0ef41Sopenharmony_ci { node_name: 'ChannelWrap', edge_name: 'native_to_javascript' }, 161cb0ef41Sopenharmony_ci ], 171cb0ef41Sopenharmony_ci detachedness: 2, 181cb0ef41Sopenharmony_ci }, 191cb0ef41Sopenharmony_ci]); 20