xref: /third_party/node/test/pummel/test-heapdump-fs-promise.js
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/test/pummel/
11cb0ef41Sopenharmony_ci// Flags: --expose-internals
21cb0ef41Sopenharmony_ci'use strict';
31cb0ef41Sopenharmony_cirequire('../common');
41cb0ef41Sopenharmony_ciconst { validateSnapshotNodes } = require('../common/heap');
51cb0ef41Sopenharmony_ciconst fs = require('fs').promises;
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_civalidateSnapshotNodes('Node / FSReqPromise', []);
81cb0ef41Sopenharmony_cifs.stat(__filename);
91cb0ef41Sopenharmony_civalidateSnapshotNodes('Node / FSReqPromise', [
101cb0ef41Sopenharmony_ci  {
111cb0ef41Sopenharmony_ci    children: [
121cb0ef41Sopenharmony_ci      { node_name: 'FSReqPromise', edge_name: 'native_to_javascript' },
131cb0ef41Sopenharmony_ci      { node_name: 'Node / AliasedFloat64Array', edge_name: 'stats_field_array' },
141cb0ef41Sopenharmony_ci    ],
151cb0ef41Sopenharmony_ci  },
161cb0ef41Sopenharmony_ci]);
17

Indexes created Thu Nov 07 10:32:03 CST 2024