mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02:00
add ability to unit test a single module GitOrigin-RevId: 584708066dea3c8d6afa1483953bbae252b48fa7
10 lines
147 B
Bash
Executable File
10 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
|