zulip/tools/test-js-with-node

11 lines
230 B
Plaintext
Raw Normal View History

#!/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