Render Vue component templates as part of test script.
Add a command to the test script to output up-to-date Vue component templates. Most of the Vue component tests rely on HTML templates built from Jinja.
This commit is contained in:
@@ -45,5 +45,6 @@ if [ "${RUN_PYTHON_TESTS}" = "true" ]; then
|
||||
fi
|
||||
|
||||
if [ "${RUN_JS_TESTS}" = "true" ]; then
|
||||
run_python_render_vue_component
|
||||
run_javascript_tests
|
||||
fi
|
||||
|
@@ -19,6 +19,11 @@ run_python_unit_tests() {
|
||||
return $?
|
||||
}
|
||||
|
||||
run_python_render_vue_component() {
|
||||
run_command "python -m pytest tests/render_vue_component.py --no-cov --no-print-logs --tb=no -q --disable-warnings"
|
||||
return $?
|
||||
}
|
||||
|
||||
run_javascript_tests() {
|
||||
run_command "yarn test:coverage"
|
||||
return $?
|
||||
|
Reference in New Issue
Block a user