Update Javascript tests

This only updates the JavaScript tests where we don't need to make changes to
the actual JavaScript too.
This commit is contained in:
Katie Smith
2020-02-04 16:22:54 +00:00
parent a26e8c55ef
commit ba8ac41953
3 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ describe('Prevent duplicate form submissions', () => {
// set up DOM
document.body.innerHTML = `
<form action="/" method="post">
<button class="button" type="submit">Continue</button>
<button class="govuk-button" type="submit">Continue</button>
</form>`;
form = document.querySelector('form');