diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-04 12:10:52 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-04 12:10:52 +0300 |
commit | b0a5a92e8349ef7b6284f7e5571620e21bed1cad (patch) | |
tree | e64502aa763f835ae8d5fb94d53b04e8d11b499b /spec/frontend/boards/stores/actions_spec.js | |
parent | 775b2961fe64f9485dc0cf905b2caf597f40a3cc (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/boards/stores/actions_spec.js')
-rw-r--r-- | spec/frontend/boards/stores/actions_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/boards/stores/actions_spec.js b/spec/frontend/boards/stores/actions_spec.js index 9e1b5018cc1..377c606ac92 100644 --- a/spec/frontend/boards/stores/actions_spec.js +++ b/spec/frontend/boards/stores/actions_spec.js @@ -293,7 +293,7 @@ describe('createIssueList', () => { data: { boardListCreate: { list: {}, - errors: [{ foo: 'bar' }], + errors: ['foo'], }, }, }), @@ -301,7 +301,7 @@ describe('createIssueList', () => { await actions.createIssueList({ getters, state, commit, dispatch }, { backlog: true }); - expect(commit).toHaveBeenCalledWith(types.CREATE_LIST_FAILURE); + expect(commit).toHaveBeenCalledWith(types.CREATE_LIST_FAILURE, 'foo'); }); it('highlights list and does not re-query if it already exists', async () => { |