Skip to content

Commit ca6c826

Browse files
targosMayaLekova
authored andcommitted
test: fix inspector test after V8 upgrade
PR-URL: nodejs#17489 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
1 parent 9131ecf commit ca6c826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-inspector-async-stack-traces-promise-then.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function debuggerPausedAt(msg, functionName, previousTickLocation) {
5555
`${Object.keys(msg.params)} contains "asyncStackTrace" property`);
5656

5757
assert.strictEqual(msg.params.callFrames[0].functionName, functionName);
58-
assert.strictEqual(msg.params.asyncStackTrace.description, 'Promise.resolve');
58+
assert.strictEqual(msg.params.asyncStackTrace.description, 'Promise.then');
5959

6060
const frameLocations = msg.params.asyncStackTrace.callFrames.map(
6161
(frame) => `${frame.functionName}:${frame.lineNumber}`);

0 commit comments

Comments
 (0)