mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
deb9e656a9
add ability to unit test a single module GitOrigin-RevId: 584708066dea3c8d6afa1483953bbae252b48fa7
9 lines
147 B
Bash
Executable file
9 lines
147 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/js
|