diff options
Diffstat (limited to 'spec/frontend/boards/board_list_spec.js')
-rw-r--r-- | spec/frontend/boards/board_list_spec.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/frontend/boards/board_list_spec.js b/spec/frontend/boards/board_list_spec.js index bf39c3f3e42..76629c96f22 100644 --- a/spec/frontend/boards/board_list_spec.js +++ b/spec/frontend/boards/board_list_spec.js @@ -80,6 +80,7 @@ const createComponent = ({ rootPath: '/', weightFeatureAvailable: false, boardWeight: null, + canAdminList: true, }, stubs: { BoardCard, @@ -181,12 +182,6 @@ describe('Board list component', () => { }); }); - it('loads more issues after scrolling', () => { - wrapper.vm.listRef.dispatchEvent(new Event('scroll')); - - expect(actions.fetchItemsForList).toHaveBeenCalled(); - }); - it('does not load issues if already loading', () => { wrapper = createComponent({ state: { listsFlags: { 'gid://gitlab/List/1': { isLoadingMore: true } } }, |