Skip to content

Commit

Permalink
test: fix inspector test after V8 upgrade
Browse files Browse the repository at this point in the history
PR-URL: nodejs#17489
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Ali Ijaz Sheikh <[email protected]>
  • Loading branch information
targos authored and MayaLekova committed May 8, 2018
1 parent 9131ecf commit ca6c826
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function debuggerPausedAt(msg, functionName, previousTickLocation) {
`${Object.keys(msg.params)} contains "asyncStackTrace" property`);

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

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

0 comments on commit ca6c826

Please sign in to comment.