1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
commons/scripts/test.sh

17 lines
213 B
Bash
Executable File

#/usr/bin/env/sh
set -e
components="server client"
for component in $components
do
echo "Testing: $component"
cd $component
npm test
cd ..
done
echo "Running End-to-End tests"
npm run test:e2e