Skip to content

Commit 1d86a9f

Browse files
ofrobotsaddaleax
authored andcommitted
test: fix over-dependence on native promise impl
In later versions of V8, the stack trace will be different than our current expectations for Promise methods. PR-URL: #11437 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 539e83a commit 1d86a9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/message/unhandled_promise_trace_warnings.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
at getAsynchronousRejectionWarningObject (internal/process/promises.js:*)
2424
at rejectionHandled (internal/process/promises.js:*)
2525
at *
26-
at Promise.then (native)
27-
at Promise.catch (native)
26+
at Promise.then *
27+
at Promise.catch *
2828
at Immediate.setImmediate (*test*message*unhandled_promise_trace_warnings.js:*)
2929
at *
3030
at *

0 commit comments

Comments
 (0)