openmct/scripts/test-coverage.sh
Nikhil 3282934cf6
fix test coverage. (#2951)
* fix test coverage.

* changes per comments + added test-coverage script to increase max-old-space-size of V8
ref: https://nodejs.org/api/cli.html#cli_max_old_space_size_size_in_mbytes

* renamed test:coverage and test:debug.

* circle-ci to use test:coverage.

* reduced test coverage thresholds.

Co-authored-by: Andrew Henry <akhenry@gmail.com>
2020-04-30 16:57:53 -07:00

3 lines
95 B
Bash
Executable File

export NODE_OPTIONS=--max_old_space_size=4096
cross-env COVERAGE=true karma start --single-run