zulip/tools/test-js-with-node

19 lines
388 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 filter.js
$NODEJS stream_color.js
$NODEJS util.js
$NODEJS message_list.js
$NODEJS message_tour.js
$NODEJS narrow.js
$NODEJS unread.js
$NODEJS search_suggestion.js