diff --git a/src/editor/Core/HealthCheck.re b/src/editor/Core/HealthCheck.re index 3a9b902ce1..97cdd759a2 100644 --- a/src/editor/Core/HealthCheck.re +++ b/src/editor/Core/HealthCheck.re @@ -19,6 +19,17 @@ let checks = [ "Verify node executable", (setup: Setup.t) => Sys.file_exists(setup.nodePath), ), + ( + "Verify node executable can execute simple script", + (setup: Setup.t) => { + let ret = + Rench.ChildProcess.spawnSync( + setup.nodePath, + [|"-e", "console.log(\"test\")"|], + ); + ret.stdout |> String.trim |> String.equal("test"); + }, + ), ( "Verify rg executable", (setup: Setup.t) => Sys.file_exists(setup.rgPath),