@@ -108,7 +108,9 @@ runTest path flags = do
109main :: IO ()
109main :: IO ()
111+ nodePath <- findExecutable "node"
111− node <- findExecutable "node"
112+ nodejsPath <- findExecutable "nodejs"
113+ let node = nodePath <|> nodejsPath
112 case node of
114 case node of
113 Nothing -> do
115 Nothing -> do
114 putStrLn "For running the test suite against Node, node must be installed."
116 putStrLn "For running the test suite against Node, node must be installed."