Lines Matching +full:require +full:- +full:common +full:- +full:first
3 // This test is to ensure that --diagnostic-dir does not change the directory
4 // for --cpu-prof when --cpu-prof-dir is specified
6 const common = require('../common'); constant
7 const fixtures = require('../common/fixtures');
8 common.skipIfInspectorDisabled();
10 const assert = require('assert');
11 const fs = require('fs');
12 const path = require('path');
13 const { spawnSync } = require('child_process');
15 const tmpdir = require('../common/tmpdir');
18 const first = root.children.find(
21 if (first) {
22 return first;
25 const first = findFirstFrameInNode(child, func);
26 if (first) {
27 return first;
36 const first = findFirstFrameInNode(profile.head, func);
37 return { frame: first, roots: profile.head.children };
66 // Test --diagnostic-dir changes the default for --cpu-prof
71 '--heap-prof',
72 '--diagnostic-dir',
74 '--heap-prof-interval',
91 // Test --heap-prof-dir overwrites --diagnostic-dir
97 '--heap-prof',
98 '--heap-prof-interval',
100 '--diagnostic-dir',
102 '--heap-prof-dir',