-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Puppeteer tests of File Upload component
As JavaScript enhancements are now optional, the examples loaded on the page needed to be `javascript`. Otherwise the `render` helper would throw as it'd try to initialise the component on `null`, as `document.querySelectorAll('govuk-file-upload')` wouldn't find any element.
- Loading branch information
1 parent
3018b3e
commit fcd85f8
Showing
2 changed files
with
46 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters