mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
58b00f4cca
Make sure `node::Init()` is called once, and execute `RunBootstrapping()` so that Node’s internals are ready when the cctests run. PR-URL: https://github.com/nodejs/node/pull/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>
8 lines
291 B
C++
8 lines
291 B
C++
#include "node_test_fixture.h"
|
|
|
|
ArrayBufferUniquePtr NodeTestFixture::allocator{nullptr, nullptr};
|
|
uv_loop_t NodeTestFixture::current_loop;
|
|
NodePlatformUniquePtr NodeTestFixture::platform;
|
|
TracingAgentUniquePtr NodeTestFixture::tracing_agent;
|
|
bool NodeTestFixture::node_initialized = false;
|