mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 05:12:25 +00:00
0ca81de78c
Decaffeinate backend GitOrigin-RevId: 4ca9f94fc809cab6f47cec8254cacaf1bb3806fa
14 lines
253 B
Bash
Executable file
14 lines
253 B
Bash
Executable file
#!/bin/bash
|
|
set -e;
|
|
|
|
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec --require test/unit/bootstrap.js"
|
|
|
|
$MOCHA "$@" test/unit/src
|
|
|
|
for dir in modules/*;
|
|
do
|
|
if [ -d $dir/test/unit/src ]; then
|
|
$MOCHA "$@" $dir/test/unit/src
|
|
fi
|
|
done
|
|
|