Skip to content

Commit 4b4f7dd

Browse files
targosnodejs-ci
authored andcommitted
test: fix inspector test after V8 upgrade
1 parent 6226f92 commit 4b4f7dd

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function debuggerPausedAt(msg, functionName, previousTickLocation) {
5454
`${Object.keys(msg.params)} contains "asyncStackTrace" property`);
5555

5656
assert.strictEqual(msg.params.callFrames[0].functionName, functionName);
57-
assert.strictEqual(msg.params.asyncStackTrace.description, 'Promise.resolve');
57+
assert.strictEqual(msg.params.asyncStackTrace.description, 'Promise.then');
5858

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

0 commit comments

Comments
 (0)