summaryrefslogtreecommitdiff
path: root/spec/javascripts/bootstrap_linked_tabs_spec.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-10-17 02:21:28 -0500
committerMike Greiling <mike@pixelcog.com>2018-10-17 11:18:17 -0500
commit7a3e605350fd501661d2cd0fe72440bf0773f4b7 (patch)
tree39d10a87baf9e80082ede3ff414e6c9ed9fc5c1b /spec/javascripts/bootstrap_linked_tabs_spec.js
parent024c31fe79b0e4026c9bff0802424efe6e127a4c (diff)
downloadgitlab-ce-7a3e605350fd501661d2cd0fe72440bf0773f4b7.tar.gz
Resolve eslint violations
Diffstat (limited to 'spec/javascripts/bootstrap_linked_tabs_spec.js')
-rw-r--r--spec/javascripts/bootstrap_linked_tabs_spec.js8
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',