Please sign in to comment.
test: add mustCall() to test-inspector-contexts
In test-inspector-contexts, if mainContextPromise is modified such that the `method` argument is changed to something invalid, the test still passes and the second part of the test never runs. Use `common.mustCall()` to cause the test to fail if the second part of the test does not run. Refs: #30519 (comment) PR-URL: #30649 Reviewed-By: Gireesh Punathil <email@example.com> Reviewed-By: Anto Aravinth <firstname.lastname@example.org> Reviewed-By: Denys Otrishko <email@example.com> Reviewed-By: Luigi Pinca <firstname.lastname@example.org>
- Loading branch information
Showing with 1 addition and 1 deletion.