#!/bin/bash -e
cd "$(dirname "$0")"/..
export NODE_PATH=static
# Run the index.js test runner, which runs all the other tests.
INDEX_JS=zerver/tests/frontend/node/index.js
NODEJS=$(which nodejs || which node)
$NODEJS $INDEX_JS