mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
load tests bootstrap when running module-only unit tests GitOrigin-RevId: 26abca1b2d4da313a7bf83c8618f9255aaac2ca0
10 lines
181 B
Bash
Executable File
10 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
|