Merge pull request #1993 from overleaf/ta-module-test-bootstrap

load tests bootstrap when running module-only unit tests

GitOrigin-RevId: 26abca1b2d4da313a7bf83c8618f9255aaac2ca0
This commit is contained in:
Simon Detheridge 2019-07-22 16:21:31 +01:00 committed by sharelatex
parent e4c3ebdbdc
commit 6f40fd9b99

View file

@ -1,7 +1,7 @@
#!/bin/bash
set -e;
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec"
MOCHA="node_modules/.bin/mocha --exit --recursive --reporter spec --require test/unit/bootstrap.js"
MODULE=$1
shift