Jest: board_form_spec spec failing in foss pipeline
Job #905832486 failed for gitlab-foss@a8704bd3:
FOSS_ONLY=1 yarn jest -- spec/frontend/boards/components/board_form_spec.js
FAIL spec/frontend/boards/components/board_form_spec.js
● BoardForm › when creating a new board › passes a correct collapseScope property to BoardScope component on scoped board
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: undefined
176 | createComponent({ canAdminBoard: true, scopedIssueBoardFeatureEnabled: true });
177 | await waitForPromises();
> 178 | expect(findBoardScope().props('collapseScope')).toBe(true);
| ^
179 | });
180 |
181 | describe('when submitting a create event', () => {
at Object.<anonymous> (spec/frontend/boards/components/board_form_spec.js:178:55)
● BoardForm › when editing a board › passes a correct collapseScope property to BoardScope component on scoped board
expect(received).toBe(expected) // Object.is equality
Expected: false
Received: undefined
259 | createComponent({ canAdminBoard: true, scopedIssueBoardFeatureEnabled: true });
260 | await waitForPromises();
> 261 | expect(findBoardScope().props('collapseScope')).toBe(false);
| ^
262 | });
263 |
264 | describe('when submitting an update event', () => {
at Object.<anonymous> (spec/frontend/boards/components/board_form_spec.js:261:55)