diff options
Diffstat (limited to 'spec/frontend/helpers/dom_events_helper.js')
-rw-r--r-- | spec/frontend/helpers/dom_events_helper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend/helpers/dom_events_helper.js b/spec/frontend/helpers/dom_events_helper.js index 423e5c58bb4..865ea97903f 100644 --- a/spec/frontend/helpers/dom_events_helper.js +++ b/spec/frontend/helpers/dom_events_helper.js @@ -1,4 +1,4 @@ -export const triggerDOMEvent = type => { +export const triggerDOMEvent = (type) => { window.document.dispatchEvent( new Event(type, { bubbles: true, |