Skip to content

Commit 715fd86

Browse files
authored
fixup! test: normalize known inspector crash as completion
1 parent a26305f commit 715fd86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/common/debugger-probe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function assertProbeJson(output, expected) {
2525
lastResult.error?.signal === probeTargetExitSignal) {
2626
// Log to facilitate debugging if this normalization is occurring.
2727
console.log('Normalizing trailing SIGSEGV in JSON probe output');
28-
normalized.results.at(-1) = expected.results.at(-1);
28+
normalized.results[normalized.results.length - 1] = expected.results.at(-1);
2929
}
3030

3131
assert.deepStrictEqual(normalized, expected);

0 commit comments

Comments
 (0)