memgraph/tests/drivers/node/v4_1/run.sh

19 lines
387 B
Bash
Raw Normal View History

#!/bin/bash -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "$DIR"
2020-09-21 18:22:40 +08:00
if ! which node >/dev/null; then
echo "Please install nodejs!"
exit 1
fi
if [ ! -d node_modules ]; then
# Driver generated with: `npm install neo4j-driver`
2023-06-13 00:55:15 +08:00
npm install --no-package-lock --no-save neo4j-driver@4.1.1
fi
node docs_how_to_query.js
2020-09-21 18:22:40 +08:00
node max_query_length.js
node metadata.js