test: make cctest full Node.js environment · nodejs/node@e531258 · GitHub
Skip to content

Commit e531258

Browse files
addaleaxtargos
authored andcommitted
test: make cctest full Node.js environment
Make sure `node::Init()` is called once, and execute `RunBootstrapping()` so that Node’s internals are ready when the cctests run. PR-URL: #26457 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Shelley Vohr <codebytere@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 070faf0 commit e531258

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

test/cctest/node_test_fixture.cc

Lines changed: 1 addition & 0 deletions

test/cctest/node_test_fixture.h

Lines changed: 14 additions & 0 deletions

0 commit comments

Comments
 (0)