From c90c47adf603610d296c927f6ba8f6d0cd55f684 Mon Sep 17 00:00:00 2001 From: Kris Moore Date: Fri, 8 Jan 2016 13:54:01 -0500 Subject: [PATCH] Add wss to api-test script --- tests/api-test.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/api-test.sh b/tests/api-test.sh index 5283309..ae0ea00 100755 --- a/tests/api-test.sh +++ b/tests/api-test.sh @@ -25,6 +25,14 @@ if [ ! -d "${HOME}/.npm/ws" ] ; then fi fi +if [ ! -d "${HOME}/.npm/wss" ] ; then + npm install wss + if [ $? -ne 0 ] ; then + echo "Failed installing wss node module" + exit 1 + fi +fi + echo "Enter your username:" echo -e ">\c" read fuser