test: add not-called check to heap-profiler test · nodejs/node@c10525c · GitHub
Skip to content

Commit c10525c

Browse files
TrottMylesBorins
authored andcommitted
test: add not-called check to heap-profiler test
Add `common.mustNotCall()` to make sure there aren't any strange shenanians in the C++ test that would cause the function to execute when it shouldn't. PR-URL: #12985 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 2451665 commit c10525c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/addons/heap-profiler/test.js

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)