Run js test coverage on CI
This commit is contained in:
@@ -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": "",
|
||||||
|
@@ -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"
|
||||||
|
|
||||||
|
Submodule script/include updated: 0a8165c275...78c51d8dd2
Reference in New Issue
Block a user