diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-03 21:08:43 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-03 21:08:43 +0300 |
commit | 03717bbc9fa4112a0cbc48f613f416f2aa1c6cbb (patch) | |
tree | a7b2d1c4175d725538e0b72e6f5aec33dc9b3d4d /spec/frontend/environments | |
parent | 27a5080c34c64a84219d855d652b994c5e344a0a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/environments')
-rw-r--r-- | spec/frontend/environments/folder/environments_folder_view_spec.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/frontend/environments/folder/environments_folder_view_spec.js b/spec/frontend/environments/folder/environments_folder_view_spec.js index 23506eb018d..6a40c68397b 100644 --- a/spec/frontend/environments/folder/environments_folder_view_spec.js +++ b/spec/frontend/environments/folder/environments_folder_view_spec.js @@ -123,22 +123,4 @@ describe('Environments Folder View', () => { expect(tabTable.find('.badge').text()).toContain('0'); }); }); - - describe('methods', () => { - beforeEach(() => { - mockEnvironments([]); - createWrapper(); - jest.spyOn(window.history, 'pushState').mockImplementation(() => {}); - return axios.waitForAll(); - }); - - describe('updateContent', () => { - it('should set given parameters', () => - wrapper.vm.updateContent({ scope: 'stopped', page: '4' }).then(() => { - expect(wrapper.vm.page).toEqual('4'); - expect(wrapper.vm.scope).toEqual('stopped'); - expect(wrapper.vm.requestData.page).toEqual('4'); - })); - }); - }); }); |