diff options
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', |