zulip/tools/test-js-with-node
Steve Howell 3726b86a94 (tests) Rename search.js -> search_suggestion.js
This follows up on extracting code to js/search_suggestion.js, and all
the search tests apply to the new module.

(imported from commit dec6c8614c25b4f82da57edeaddc7cfef28260a5)
2013-08-02 17:28:03 -04:00

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