Skip to content

Commit

Permalink
test: unset NODE_OPTIONS for cctest
Browse files Browse the repository at this point in the history
The test may fail otherwise because of behaviour changes caused
by setting the environment variable.

Fixes: nodejs#31585
  • Loading branch information
addaleax committed Jan 31, 2020
1 parent 43fb6ff commit 9719b5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/cctest/node_test_fixture.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class NodeZeroIsolateTestFixture : public ::testing::Test {

static void SetUpTestCase() {
if (!node_initialized) {
uv_os_unsetenv("NODE_OPTIONS");
node_initialized = true;
int argc = 1;
const char* argv0 = "cctest";
Expand Down

0 comments on commit 9719b5d

Please sign in to comment.