Run js test coverage on CI

This commit is contained in:
Patrick Smith 2018-11-20 11:17:40 -05:00
parent 9b60ac596f
commit c3c675ceba
3 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,7 @@
"watch": "parcel watch js/index.js -d static/assets --public-url /static/assets -o index.js --no-autoinstall", "watch": "parcel watch js/index.js -d static/assets --public-url /static/assets -o index.js --no-autoinstall",
"build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js", "build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js",
"test": "jest", "test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch" "test:watch": "jest --watch"
}, },
"author": "", "author": "",

View File

@ -13,6 +13,9 @@ PYTHON_FILES="./app.py ./atst/** ./config"
# Enable Python testing # Enable Python testing
RUN_PYTHON_TESTS="true" RUN_PYTHON_TESTS="true"
# Enable Javascript testing
RUN_JS_TESTS="true"
# Reset the DB, since the one script/setup created might not be persisted # Reset the DB, since the one script/setup created might not be persisted
RESET_DB="true" RESET_DB="true"

@ -1 +1 @@
Subproject commit 0a8165c27591cac67959b1f6aff8799af8933e98 Subproject commit 78c51d8dd29b47fd42570896daaded5e2181e923