summaryrefslogtreecommitdiff
path: root/scripts/test.sh
blob: 54b29f2a8ea97b930f29a887c46b965878b6402f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

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 ..