Commit 0ca73199 authored by Kushal Pandya's avatar Kushal Pandya

Add changelog entry

parent e2216b67
---
title: Include Epics in Roadmap whose parents are not part of Roadmap
merge_request: 34243
author:
type: fixed
...@@ -122,13 +122,13 @@ describe('EpicsListSectionComponent', () => { ...@@ -122,13 +122,13 @@ describe('EpicsListSectionComponent', () => {
describe('epicsWithAssociatedParents', () => { describe('epicsWithAssociatedParents', () => {
it('should return epics which contain parent associations', () => { it('should return epics which contain parent associations', () => {
wrapper = createComponent({ wrapper.setProps({
epics: mockEpicsWithParents, epics: mockEpicsWithParents,
}); });
expect(wrapper.vm.epicsWithAssociatedParents).toEqual(mockEpicsWithParents); return wrapper.vm.$nextTick(() => {
expect(wrapper.vm.epicsWithAssociatedParents).toEqual(mockEpicsWithParents);
wrapper.destroy(); });
}); });
}); });
...@@ -137,7 +137,7 @@ describe('EpicsListSectionComponent', () => { ...@@ -137,7 +137,7 @@ describe('EpicsListSectionComponent', () => {
store.state.epicIds = ['1', '2', '3']; store.state.epicIds = ['1', '2', '3'];
}); });
it('returns findParentEpics method by default', () => { it('returns epicsWithAssociatedParents computed prop by default', () => {
expect(wrapper.vm.displayedEpics).toEqual(wrapper.vm.epicsWithAssociatedParents); expect(wrapper.vm.displayedEpics).toEqual(wrapper.vm.epicsWithAssociatedParents);
}); });
......
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