mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
test: fix inspector test after V8 upgrade
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
4e51512148
commit
ac2af1361e
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user