Don't run app.listen when testing nat-globelet-playground
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
(let [app (Express.call)
|
(let [app (Express.call)
|
||||||
port 3000]
|
port 3000]
|
||||||
(app.get "/" ->[req res next] (res.send "Hello World!"))
|
(app.get "/" ->[req res next] (res.send "Hello World!"))
|
||||||
(app.listen port ->(print "kiss-express listening at http://localhost:$port")))
|
(#unless test
|
||||||
|
(app.listen port ->(print "kiss-express listening at http://localhost:$port"))))
|
||||||
|
|
||||||
|
@@ -21,4 +21,4 @@ if [ ! -d .haxelib/kiss ]; then
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
haxe build.hxml
|
haxe -D test build.hxml
|
Reference in New Issue
Block a user