test: fix scriptParsed event expectations · nodejs/node@16a929b · GitHub
Skip to content

Commit 16a929b

Browse files
RReverserrvagg
authored andcommitted
test: fix scriptParsed event expectations
As per Node.js docs, vm.Script instance is not bound to any context. However, this test was expecting otherwise and depended on implementation details which are going to change. Refs: https://chromium-review.googlesource.com/c/v8/v8/+/1013581 Backport-PR-URL: #21668 PR-URL: #21079 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org>
1 parent 6eed40a commit 16a929b

1 file changed

Lines changed: 7 additions & 27 deletions

File tree

test/sequential/test-inspector-scriptparsed-context.js

Lines changed: 7 additions & 27 deletions

0 commit comments

Comments
 (0)