mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 11:43:41 +00:00
1a3b21b3f1
Fix test_unit_app and test_unit_module bin scripts GitOrigin-RevId: 18e67564fab54cd19310f81422ed1a1560c4cf29
9 lines
148 B
Bash
Executable file
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
|