()
| 4 | |
| 5 | let _buildEmbedderGraph; |
| 6 | function buildEmbedderGraph() { |
| 7 | if (_buildEmbedderGraph) { return _buildEmbedderGraph(); } |
| 8 | let internalBinding; |
| 9 | try { |
| 10 | internalBinding = require('internal/test/binding').internalBinding; |
| 11 | } catch (e) { |
| 12 | console.error('The test must be run with `--expose-internals`'); |
| 13 | throw e; |
| 14 | } |
| 15 | |
| 16 | ({ buildEmbedderGraph: _buildEmbedderGraph } = internalBinding('heap_utils')); |
| 17 | return _buildEmbedderGraph(); |
| 18 | } |
| 19 | |
| 20 | const { getHeapSnapshot } = require('v8'); |
| 21 |
no test coverage detected
searching dependent graphs…