Merge pull request #1801 from overleaf/ew-module-unit-test

add ability to unit test a single module

GitOrigin-RevId: 584708066dea3c8d6afa1483953bbae252b48fa7
This commit is contained in:
Simon Detheridge
2019-05-23 13:25:39 +00:00
committed by sharelatex
parent a0adde3573
commit deb9e656a9
3 changed files with 58 additions and 6 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
set -e;
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec"
MODULE=$1
shift
$MOCHA "$@" modules/$MODULE/test/unit/js