mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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
|