Commit 024c31fe authored by Mike Greiling's avatar Mike Greiling

Remove superfluous IIFEs

parent f666026d
import LinkedTabs from '~/lib/utils/bootstrap_linked_tabs'; import LinkedTabs from '~/lib/utils/bootstrap_linked_tabs';
(() => { describe('Linked Tabs', () => {
describe('Linked Tabs', () => {
preloadFixtures('static/linked_tabs.html.raw'); preloadFixtures('static/linked_tabs.html.raw');
beforeEach(() => { beforeEach(() => {
...@@ -65,5 +64,4 @@ import LinkedTabs from '~/lib/utils/bootstrap_linked_tabs'; ...@@ -65,5 +64,4 @@ import LinkedTabs from '~/lib/utils/bootstrap_linked_tabs';
} }
}); });
}); });
}); });
})();
...@@ -12,11 +12,10 @@ import '~/api'; ...@@ -12,11 +12,10 @@ import '~/api';
import '~/create_label'; import '~/create_label';
import '~/users_select'; import '~/users_select';
(() => { let saveLabelCount = 0;
let saveLabelCount = 0; let mock;
let mock;
describe('Issue dropdown sidebar', () => { describe('Issue dropdown sidebar', () => {
preloadFixtures('static/issue_sidebar_label.html.raw'); preloadFixtures('static/issue_sidebar_label.html.raw');
beforeEach(() => { beforeEach(() => {
...@@ -115,5 +114,4 @@ import '~/users_select'; ...@@ -115,5 +114,4 @@ import '~/users_select';
}, 0); }, 0);
}, 0); }, 0);
}); });
}); });
})();
import AccessorUtilities from '~/lib/utils/accessor'; import AccessorUtilities from '~/lib/utils/accessor';
import SigninTabsMemoizer from '~/pages/sessions/new/signin_tabs_memoizer'; import SigninTabsMemoizer from '~/pages/sessions/new/signin_tabs_memoizer';
(() => { describe('SigninTabsMemoizer', () => {
describe('SigninTabsMemoizer', () => {
const fixtureTemplate = 'static/signin_tabs.html.raw'; const fixtureTemplate = 'static/signin_tabs.html.raw';
const tabSelector = 'ul.new-session-tabs'; const tabSelector = 'ul.new-session-tabs';
const currentTabKey = 'current_signin_tab'; const currentTabKey = 'current_signin_tab';
...@@ -167,5 +166,4 @@ import SigninTabsMemoizer from '~/pages/sessions/new/signin_tabs_memoizer'; ...@@ -167,5 +166,4 @@ import SigninTabsMemoizer from '~/pages/sessions/new/signin_tabs_memoizer';
}); });
}); });
}); });
}); });
})();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment