summaryrefslogtreecommitdiff
path: root/spec/frontend/issue_show/issue_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/issue_show/issue_spec.js')
-rw-r--r--spec/frontend/issue_show/issue_spec.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/frontend/issue_show/issue_spec.js b/spec/frontend/issue_show/issue_spec.js
index c0175e774a2..7a48353af94 100644
--- a/spec/frontend/issue_show/issue_spec.js
+++ b/spec/frontend/issue_show/issue_spec.js
@@ -2,9 +2,10 @@ import MockAdapter from 'axios-mock-adapter';
import { useMockIntersectionObserver } from 'helpers/mock_dom_observer';
import waitForPromises from 'helpers/wait_for_promises';
import axios from '~/lib/utils/axios_utils';
-import initIssuableApp from '~/issue_show/issue';
+import { initIssuableApp } from '~/issue_show/issue';
import * as parseData from '~/issue_show/utils/parse_data';
import { appProps } from './mock_data';
+import createStore from '~/notes/stores';
const mock = new MockAdapter(axios);
mock.onGet().reply(200);
@@ -30,7 +31,7 @@ describe('Issue show index', () => {
});
const issuableData = parseData.parseIssuableData();
- initIssuableApp(issuableData);
+ initIssuableApp(issuableData, createStore());
await waitForPromises();