Commit f6cb6cd0 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '196876-flaky-board-list-spec' into 'master'

Fix flaky spec caused by missing stub return value

Closes #196876

See merge request gitlab-org/gitlab!24427
parents 0ecb658d f8f4fd30
......@@ -58,7 +58,7 @@ describe('BoardListSelector', () => {
});
it('does not call axios.get when store.state.assignees is not empty', done => {
spyOn(axios, 'get');
spyOn(axios, 'get').and.returnValue(Promise.resolve());
boardsStore.state.assignees = mockAssigneesList;
vm.loadList()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment