Commit b39d5db1 authored by Paul Slaughter's avatar Paul Slaughter

Fix slow specs in roadmap

*How?*
- Set up store *before* component
- Only pass a subset of epics instead of all of them

*Follow up*
Let's address the per-epic slowness in a
[follow up][1].

[1]: https://gitlab.com/gitlab-org/gitlab/-/issues/217140
parent 98a943b8
......@@ -171,8 +171,8 @@ describe('RoadmapApp', () => {
let roadmapTimelineEl;
beforeEach(() => {
store.dispatch('receiveEpicsSuccess', { rawEpics: rawEpics.slice(0, 2) });
wrapper = createComponent(mount);
store.dispatch('receiveEpicsSuccess', { rawEpics });
roadmapTimelineEl = wrapper.find('.roadmap-timeline-section').element;
});
......
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