memgraph/tests/drivers/javascript/run.sh
Matej Ferencevic 6308ec6a34 Added javascript and java driver tests.
Reviewers: buda

Reviewed By: buda

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D438
2017-06-09 10:12:25 +02:00

18 lines
257 B
Bash
Executable File

#!/bin/bash
NODE=nodejs
NPM=npm
if ! which $NODE >/dev/null; then
echo "Please install Node.JS!"
exit 1
fi
if ! which $NPM >/dev/null; then
echo "Please install NPM!"
exit 1
fi
$NPM install neo4j-driver || exit 1
$NODE test.js || exit 1