1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-30 08:26:59 +02:00
joplin/CliClient/run_test.sh

11 lines
482 B
Bash
Raw Normal View History

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