Skip to content

Commit

Permalink
fix error.code )
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey V. Osipov <[email protected]>
  • Loading branch information
sipopo committed Dec 16, 2022
1 parent a4f85bd commit 2726f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup_node_env/node_version_validator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function testValidateNodeVersion(done, versionToTest, expectError = false, expec

expect(stderr).toStrictEqual(speficicErrorMessage);
} else if (expectWarning) {
expect(error.code).toBeNull();
expect(error).toBeNull();

var speficicWarningMessage =
`You're using an untested version of Node.js. OpenSearch Dashboards has been tested to work with Node.js ` +
Expand Down

0 comments on commit 2726f63

Please sign in to comment.