summaryrefslogtreecommitdiff
path: root/test/sequential/test-inspector-async-stack-traces-promise-then.js
diff options
context:
space:
mode:
authorMichaƫl Zasso <targos@protonmail.com>2017-11-30 11:17:51 +0100
committerMyles Borins <mylesborins@google.com>2018-01-24 15:03:03 -0800
commitac2af1361e1271855d72b6e168dbd2b5d26ec2c9 (patch)
tree77514b9e3b574b956a8cae24e2c900acd55d3363 /test/sequential/test-inspector-async-stack-traces-promise-then.js
parent4e515121488db4e2ea3c918f784f636cc51c06a0 (diff)
downloadandroid-node-v8-ac2af1361e1271855d72b6e168dbd2b5d26ec2c9.tar.gz
android-node-v8-ac2af1361e1271855d72b6e168dbd2b5d26ec2c9.tar.bz2
android-node-v8-ac2af1361e1271855d72b6e168dbd2b5d26ec2c9.zip
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>
Diffstat (limited to 'test/sequential/test-inspector-async-stack-traces-promise-then.js')
-rw-r--r--test/sequential/test-inspector-async-stack-traces-promise-then.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-inspector-async-stack-traces-promise-then.js b/test/sequential/test-inspector-async-stack-traces-promise-then.js
index b5cb651ff4..e803be7167 100644
--- a/test/sequential/test-inspector-async-stack-traces-promise-then.js
+++ b/test/sequential/test-inspector-async-stack-traces-promise-then.js
@@ -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}`);