Added the url for api docs.

Updated error message when js tests fail
This commit is contained in:
Rebecca Law
2019-09-25 15:47:35 +01:00
parent 7bdcf7414d
commit d902ac3b44
2 changed files with 2 additions and 2 deletions

View File

@@ -25,6 +25,6 @@
<p>A developer should be able to set up the API client and start sending test messages in around 30 minutes. A full integration can take a few days, depending on the other systems youre using.</p>
<h2 class="heading-medium">Integrate directly with the API</h2>
<p>If you cannot use the client libraries, you can integrate directly with the API instead.</p>
<p>Read the REST API documentation (this link opens in a new tab).</p>
<p>Read the <a href="https://docs.notifications.service.gov.uk/api_doc_template.html" target="_blank" rel="noopener">REST API documentation</a> (this link opens in a new tab).</p>
{% endblock %}

View File

@@ -34,7 +34,7 @@ isort --check-only -rc ./app ./tests
display_result $? 2 "Import order check"
npm test
display_result $? 3 "Front end code style check"
display_result $? 3 "Javascript test have failed"
## Code coverage
py.test -n auto --maxfail=10 --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml --strict -p no:warnings