on master help sign in
Install jsdom in the test
b412396Max New
tests/hs/LibTest.hs+1−1
@@ -12,7 +12,7 @@ main = do
12 top <- getCurrentDirectory
12 top <- getCurrentDirectory
13 let ioScript s = top</>"IO"</>s
13 let ioScript s = top</>"IO"</>s
14 runCmd "git submodule init"
14 runCmd "git submodule init"
15− --runCmd "npm install jsdom"
15+ runCmd "npm install jsdom"
16 setCurrentDirectory $ top</>"tests"</>"elm"
16 setCurrentDirectory $ top</>"tests"</>"elm"
17 runCmd $ concat ["elm --make --only-js --src-dir=" , top</>"automaton", " --src-dir=", top</>"IO", " --src-dir=", top</>"Elm-Test", " Test.elm"]
17 runCmd $ concat ["elm --make --only-js --src-dir=" , top</>"automaton", " --src-dir=", top</>"IO", " --src-dir=", top</>"Elm-Test", " Test.elm"]
18 runCmd $ unwords ["cat ", ioScript "prescript.js", Elm.runtime, "build"</>"Test.js", ioScript "handler.js", "> exe.js"]
18 runCmd $ unwords ["cat ", ioScript "prescript.js", Elm.runtime, "build"</>"Test.js", ioScript "handler.js", "> exe.js"]