zulip/tools/test-js-with-node

15 lines
312 B
Bash
Executable File

#!/bin/bash -e
cd "$(dirname "$0")"/../zerver/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_list.js
$NODEJS message_tour.js
$NODEJS unread.js
$NODEJS search_suggestion.js