zulip/tools/test-js-with-node

14 lines
288 B
Bash
Executable File

#!/bin/bash -e
cd "$(dirname "$0")"/../zephyr/tests/frontend/node
STATIC_DIR=`python -c 'import os;print os.path.realpath("../../../../static")'`
export NODE_PATH=$STATIC_DIR
NODEJS=$(which nodejs || which node)
$NODEJS message_tour.js
$NODEJS unread.js
$NODEJS search_suggestion.js