Commit 63f9d8a9 authored by Mike Greiling's avatar Mike Greiling

Resolve merge conflicts

parent 4cef8765
...@@ -114,11 +114,7 @@ describe('Store', () => { ...@@ -114,11 +114,7 @@ describe('Store', () => {
it('should store latest.name when the environment is not a folder', () => { it('should store latest.name when the environment is not a folder', () => {
store.storeEnvironments(serverData); store.storeEnvironments(serverData);
<<<<<<< HEAD
expect(store.state.environments[2].name).toEqual(serverData[2].latest.name); expect(store.state.environments[2].name).toEqual(serverData[2].latest.name);
=======
expect(store.state.environments[0].name).toEqual(serverData[0].latest.name);
>>>>>>> upstream/master
}); });
it('should store root level name when environment is a folder', () => { it('should store root level name when environment is a folder', () => {
......
...@@ -18,15 +18,6 @@ describe('collapsedGroupedDatePicker', () => { ...@@ -18,15 +18,6 @@ describe('collapsedGroupedDatePicker', () => {
Vue.nextTick(done); Vue.nextTick(done);
}); });
<<<<<<< HEAD
=======
it('should emit when sidebar is toggled', () => {
vm.$el.querySelector('.gutter-toggle').click();
expect(vm.toggleSidebar).toHaveBeenCalled();
});
>>>>>>> upstream/master
it('should emit when collapsed-calendar-icon is clicked', () => { it('should emit when collapsed-calendar-icon is clicked', () => {
vm.$el.querySelector('.sidebar-collapsed-icon').click(); vm.$el.querySelector('.sidebar-collapsed-icon').click();
......
...@@ -12,18 +12,6 @@ describe('sidebarDatePicker', () => { ...@@ -12,18 +12,6 @@ describe('sidebarDatePicker', () => {
}); });
}); });
<<<<<<< HEAD
=======
it('should emit toggleCollapse when collapsed toggle sidebar is clicked', () => {
const toggleCollapse = jasmine.createSpy();
vm.$on('toggleCollapse', toggleCollapse);
vm.$el.querySelector('.issuable-sidebar-header .gutter-toggle').click();
expect(toggleCollapse).toHaveBeenCalled();
});
>>>>>>> upstream/master
it('should render collapsed-calendar-icon', () => { it('should render collapsed-calendar-icon', () => {
expect(vm.$el.querySelector('.sidebar-collapsed-icon')).toBeDefined(); expect(vm.$el.querySelector('.sidebar-collapsed-icon')).toBeDefined();
}); });
......
...@@ -30,11 +30,7 @@ describe('DropdownValueCollapsedComponent', () => { ...@@ -30,11 +30,7 @@ describe('DropdownValueCollapsedComponent', () => {
it('returns empty text when `labels` prop is empty array', () => { it('returns empty text when `labels` prop is empty array', () => {
const vmEmptyLabels = createComponent([]); const vmEmptyLabels = createComponent([]);
<<<<<<< HEAD
expect(vmEmptyLabels.labelsList).toBe('Labels'); expect(vmEmptyLabels.labelsList).toBe('Labels');
=======
expect(vmEmptyLabels.labelsList).toBe('');
>>>>>>> upstream/master
vmEmptyLabels.$destroy(); vmEmptyLabels.$destroy();
}); });
......
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