mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 19:21:51 +00:00
6f40fd9b99
load tests bootstrap when running module-only unit tests GitOrigin-RevId: 26abca1b2d4da313a7bf83c8618f9255aaac2ca0
9 lines
181 B
Bash
Executable file
9 lines
181 B
Bash
Executable file
#!/bin/bash
|
|
set -e;
|
|
|
|
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec --require test/unit/bootstrap.js"
|
|
MODULE=$1
|
|
|
|
shift
|
|
|
|
$MOCHA "$@" modules/$MODULE/test/unit/src
|