summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-03-02 03:09:33 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-03-02 03:09:33 -0800
commit24e5c8c974cb15609c461f9a37af84172e457254 (patch)
tree3dc3370079d92c650eac20311f47b8a74e6874ad /scripts
parent80e06cee9c471c91bedc0968a44fa8a6be17e2ac (diff)
Move tests
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
index 6cbe3dc..54b29f2 100755
--- a/scripts/test.sh
+++ b/scripts/test.sh
@@ -2,9 +2,17 @@
declare -a arr=("core" "client" "server")
+# start with unit tests for
+# each package
for i in "${arr[@]}"
do
cd $i
yarn test
cd ..
done
+
+# if they pass,
+# run the integration tests
+cd integration
+yarn test
+cd ..