diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-25 21:10:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-25 21:10:00 +0300 |
commit | 51873e3d3f01e79584674164ba120f847bc96d02 (patch) | |
tree | 73134440fee63568311a73f764568f8289ad86f0 /spec/frontend/ci_variable_list | |
parent | 31c8456eb7b08298eb09a835f4ccbc7d720c3606 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/ci_variable_list')
-rw-r--r-- | spec/frontend/ci_variable_list/components/ci_variable_modal_spec.js | 2 | ||||
-rw-r--r-- | spec/frontend/ci_variable_list/components/ci_variable_table_spec.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/ci_variable_list/components/ci_variable_modal_spec.js b/spec/frontend/ci_variable_list/components/ci_variable_modal_spec.js index c57ff3ef20a..b2e51029a06 100644 --- a/spec/frontend/ci_variable_list/components/ci_variable_modal_spec.js +++ b/spec/frontend/ci_variable_list/components/ci_variable_modal_spec.js @@ -17,7 +17,7 @@ describe('Ci variable modal', () => { const createComponent = (method, options = {}) => { store = createStore(); wrapper = method(CiVariableModal, { - attachToDocument: true, + attachTo: document.body, stubs: { GlModal: ModalStub, }, diff --git a/spec/frontend/ci_variable_list/components/ci_variable_table_spec.js b/spec/frontend/ci_variable_list/components/ci_variable_table_spec.js index 36aeffe7798..fbc34528d4d 100644 --- a/spec/frontend/ci_variable_list/components/ci_variable_table_spec.js +++ b/spec/frontend/ci_variable_list/components/ci_variable_table_spec.js @@ -17,7 +17,7 @@ describe('Ci variable table', () => { store.state.isGroup = true; jest.spyOn(store, 'dispatch').mockImplementation(); wrapper = mount(CiVariableTable, { - attachToDocument: true, + attachTo: document.body, localVue, store, }); |