diff options
| author | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-02-21 23:28:08 +0100 |
|---|---|---|
| committer | Constance Okoghenun <cokoghenun@gitlab.com> | 2018-02-21 23:28:08 +0100 |
| commit | e9e5e35d28b9db5402e6216a969b008bee24db2a (patch) | |
| tree | 6e5fa1a89d4c94eb839c94c684c5bb26b077a932 | |
| parent | 11c1fc1fae5810123f683630c92bf1e9e7eab3d0 (diff) | |
| download | gitlab-ce-e9e5e35d28b9db5402e6216a969b008bee24db2a.tar.gz | |
Removed named import
| -rw-r--r-- | app/assets/javascripts/boards/index.js | 4 | ||||
| -rw-r--r-- | spec/javascripts/test_bundle.js | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/boards/index.js b/app/assets/javascripts/boards/index.js index 7adbf442f00..06a8abea940 100644 --- a/app/assets/javascripts/boards/index.js +++ b/app/assets/javascripts/boards/index.js @@ -24,7 +24,7 @@ import './components/new_list_dropdown'; import './components/modal/index'; import '../vue_shared/vue_resource_interceptor'; -export default function initBoards() { +export default () => { const $boardApp = document.getElementById('board-app'); const Store = gl.issueBoards.BoardsStore; const ModalStore = gl.issueBoards.ModalStore; @@ -236,4 +236,4 @@ export default function initBoards() { </div> `, }); -} +}; diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js index 9f0d8f0d01c..b8b2048f757 100644 --- a/spec/javascripts/test_bundle.js +++ b/spec/javascripts/test_bundle.js @@ -113,6 +113,7 @@ if (process.env.BABEL_ENV === 'coverage') { // exempt these files from the coverage report const troubleMakers = [ './blob_edit/blob_bundle.js', + './boards/index.js', './cycle_analytics/cycle_analytics_bundle.js', './cycle_analytics/components/stage_plan_component.js', './cycle_analytics/components/stage_staging_component.js', |
