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 15:31:36 +00:00
committed by sharelatex
parent e4c3ebdbdc
commit 6f40fd9b99
+1 -1
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