overleaf/services/web/bin/unit_test_module
nate stemen 1a3b21b3f1 Merge pull request #1826 from overleaf/ta-fix-bin-scripts
Fix test_unit_app and test_unit_module bin scripts

GitOrigin-RevId: 18e67564fab54cd19310f81422ed1a1560c4cf29
2019-06-03 18:32:01 +00:00

9 lines
148 B
Bash
Executable file

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