2018-07-11 04:12:23 +08:00
|
|
|
// Flags: --expose-internals
|
|
|
|
'use strict';
|
|
|
|
require('../common');
|
|
|
|
const { validateSnapshotNodes } = require('../common/heap');
|
|
|
|
const fs = require('fs').promises;
|
|
|
|
|
2018-09-24 05:52:09 +08:00
|
|
|
validateSnapshotNodes('Node / FSReqPromise', []);
|
2018-07-11 04:12:23 +08:00
|
|
|
fs.stat(__filename);
|
2018-09-24 05:52:09 +08:00
|
|
|
validateSnapshotNodes('Node / FSReqPromise', [
|
2018-07-11 04:12:23 +08:00
|
|
|
{
|
|
|
|
children: [
|
2023-02-06 23:44:16 +08:00
|
|
|
{ node_name: 'FSReqPromise', edge_name: 'native_to_javascript' },
|
2023-02-24 22:51:07 +08:00
|
|
|
{ node_name: 'Node / AliasedFloat64Array', edge_name: 'stats_field_array' },
|
2023-02-13 00:36:39 +08:00
|
|
|
],
|
2021-03-26 23:51:08 +08:00
|
|
|
},
|
2018-07-11 04:12:23 +08:00
|
|
|
]);
|