From 5c11d8979275b2f9f5b63f979ecd9da0affeb8af Mon Sep 17 00:00:00 2001 From: Tom Byers Date: Thu, 24 Oct 2019 16:11:28 +0100 Subject: [PATCH] Fix console output for JS tests The string identifying the tests run shouldn't include their status, that's added by `display_result`. --- scripts/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 960824a12..b77f9b66c 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -34,7 +34,7 @@ isort --check-only -rc ./app ./tests display_result $? 2 "Import order check" npm test -display_result $? 3 "Javascript tests have failed" +display_result $? 3 "Javascript tests have" ## Code coverage py.test -n auto --maxfail=10 --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml --strict -p no:warnings