mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #1801 from overleaf/ew-module-unit-test
add ability to unit test a single module GitOrigin-RevId: 584708066dea3c8d6afa1483953bbae252b48fa7
This commit is contained in:
committed by
sharelatex
parent
a0adde3573
commit
deb9e656a9
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -e;
|
||||
|
||||
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec"
|
||||
MODULE=$1
|
||||
|
||||
shift
|
||||
|
||||
$MOCHA "$@" modules/$MODULE/test/unit/js
|
||||
Reference in New Issue
Block a user