overleaf/services/web/bin/unit_test_module

10 lines
147 B
Text
Raw Normal View History

#!/bin/bash
set -e;
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec"
MODULE=$1
shift
$MOCHA "$@" modules/$MODULE/test/unit/js