diff options
Diffstat (limited to 'spec/frontend/feature_highlight')
-rw-r--r-- | spec/frontend/feature_highlight/feature_highlight_helper_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/feature_highlight/feature_highlight_helper_spec.js b/spec/frontend/feature_highlight/feature_highlight_helper_spec.js index 2c3c3e3267a..beae5041156 100644 --- a/spec/frontend/feature_highlight/feature_highlight_helper_spec.js +++ b/spec/frontend/feature_highlight/feature_highlight_helper_spec.js @@ -44,7 +44,7 @@ describe('feature highlight helper', () => { }); describe('inserted', () => { - it('registers click event callback', done => { + it('registers click event callback', (done) => { const context = { getAttribute: () => 'popoverId', dataset: { @@ -52,7 +52,7 @@ describe('feature highlight helper', () => { }, }; - jest.spyOn($.fn, 'on').mockImplementation(event => { + jest.spyOn($.fn, 'on').mockImplementation((event) => { expect(event).toEqual('click'); done(); }); |