diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-10-17 10:21:28 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-10-17 19:18:17 +0300 |
commit | 7a3e605350fd501661d2cd0fe72440bf0773f4b7 (patch) | |
tree | 39d10a87baf9e80082ede3ff414e6c9ed9fc5c1b /spec/javascripts/bootstrap_linked_tabs_spec.js | |
parent | 024c31fe79b0e4026c9bff0802424efe6e127a4c (diff) |
Resolve eslint violations
Diffstat (limited to 'spec/javascripts/bootstrap_linked_tabs_spec.js')
-rw-r--r-- | spec/javascripts/bootstrap_linked_tabs_spec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/javascripts/bootstrap_linked_tabs_spec.js b/spec/javascripts/bootstrap_linked_tabs_spec.js index c52141dbf2d..c3e3d78ff63 100644 --- a/spec/javascripts/bootstrap_linked_tabs_spec.js +++ b/spec/javascripts/bootstrap_linked_tabs_spec.js @@ -13,8 +13,8 @@ describe('Linked Tabs', () => { }); it('should activate the tab correspondent to the given action', () => { - const linkedTabs = new LinkedTabs({ - // eslint-disable-line + // eslint-disable-next-line no-new + new LinkedTabs({ action: 'tab1', defaultAction: 'tab1', parentEl: '.linked-tabs', @@ -24,8 +24,8 @@ describe('Linked Tabs', () => { }); it('should active the default tab action when the action is show', () => { - const linkedTabs = new LinkedTabs({ - // eslint-disable-line + // eslint-disable-next-line no-new + new LinkedTabs({ action: 'show', defaultAction: 'tab1', parentEl: '.linked-tabs', |