(output)
| 19 | 'probe-indented.js', |
| 20 | ], { cwd, env: { ...process.env, NODE_DEBUG: 'inspect_probe' } }, { |
| 21 | stdout(output) { |
| 22 | assertProbeJson(output, { |
| 23 | v: 2, |
| 24 | probes: [{ |
| 25 | expr: 'x', |
| 26 | // No `:col` in `target`, reflecting the user spec. |
| 27 | target: { suffix: 'probe-indented.js', line: 6 }, |
| 28 | }], |
| 29 | results: [{ |
| 30 | probe: 0, |
| 31 | event: 'hit', |
| 32 | hit: 1, |
| 33 | // V8 should relocate the breakpoint to the first executable column (3). |
| 34 | location: { url: fixtureUrl, line: 6, column: 3 }, |
| 35 | // Pauses *before* the assignment runs, so `x` still holds the value from line 4. |
| 36 | result: { type: 'number', value: 0, description: '0' }, |
| 37 | }, { |
| 38 | event: 'completed', |
| 39 | }], |
| 40 | }); |
| 41 | }, |
| 42 | trim: true, |
| 43 | }); |
nothing calls this directly
no test coverage detected
searching dependent graphs…