2017-06-13 22:58:17 +02:00
|
|
|
#!/bin/bash
|
|
|
|
CLIENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
2017-06-24 20:06:28 +02:00
|
|
|
rm -f "$CLIENT_DIR/tests-build/lib"
|
2017-06-14 21:59:02 +02:00
|
|
|
mkdir -p "$CLIENT_DIR/tests-build/data"
|
2017-06-24 20:06:28 +02:00
|
|
|
ln -s "$CLIENT_DIR/build/lib" "$CLIENT_DIR/tests-build"
|
2017-06-13 22:58:17 +02:00
|
|
|
|
2017-07-03 20:29:19 +02:00
|
|
|
npm run build && NODE_PATH="$CLIENT_DIR/tests-build/" npm test tests-build/synchronizer.js
|
2017-06-25 17:17:40 +02:00
|
|
|
|
2017-07-01 00:53:22 +02:00
|
|
|
#npm run build && NODE_PATH="$CLIENT_DIR/tests-build/" npm test tests-build/synchronizer.js
|
|
|
|
#npm run build && NODE_PATH="$CLIENT_DIR/tests-build/" npm test tests-build/base-model.js
|