We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 282ce42 commit d4c800cCopy full SHA for d4c800c
1 file changed
spec/acceptance_test test_sepcspec/acceptance_test renamed to test_sepc
@@ -4,10 +4,20 @@
4
5
#TODO(alex): check if node\npm availabe, fail gracefully if not
6
7
+cd ./spec
8
+
9
if [[ ! -d 'node_modules' ]]; then
10
echo "Installing dependencies though NPM"
11
npm install
12
fi
13
14
+if [[ "$#" -ne 1 ]]; then
15
+ url="http://localhost:8080"
16
+else
17
+ url="$1"
18
+fi
19
20
echo "Runing tests"
21
npm test "$@"
22
23
+cd -
0 commit comments