Commit 1d0764dd authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch 'xanf-vtu-30-unsync' into 'master'

Remove sync: false

See merge request gitlab-org/gitlab!22535
parents 6e88bebc f745fbbd
...@@ -36,7 +36,6 @@ function createComponent({ ...@@ -36,7 +36,6 @@ function createComponent({
const comp = func(Component, { const comp = func(Component, {
localVue, localVue,
store, store,
sync: false,
propsData: { propsData: {
emptyStateSvgPath, emptyStateSvgPath,
noDataSvgPath, noDataSvgPath,
......
...@@ -28,7 +28,6 @@ describe('CustomStageForm', () => { ...@@ -28,7 +28,6 @@ describe('CustomStageForm', () => {
labels: groupLabels, labels: groupLabels,
...props, ...props,
}, },
sync: false,
}); });
} }
......
...@@ -12,7 +12,6 @@ describe('Cycle Analytics LabelsSelector', () => { ...@@ -12,7 +12,6 @@ describe('Cycle Analytics LabelsSelector', () => {
labels: groupLabels, labels: groupLabels,
selectedLabelId: props.selectedLabelId || null, selectedLabelId: props.selectedLabelId || null,
}, },
sync: false,
}); });
} }
......
...@@ -25,7 +25,6 @@ describe('StageDropdownFilter component', () => { ...@@ -25,7 +25,6 @@ describe('StageDropdownFilter component', () => {
const createComponent = () => { const createComponent = () => {
wrapper = shallowMount(StageDropdownFilter, { wrapper = shallowMount(StageDropdownFilter, {
sync: false,
propsData: { propsData: {
stages, stages,
}, },
......
...@@ -36,7 +36,6 @@ function createComponent({ props = {}, shallow = false, Component = StageEventLi ...@@ -36,7 +36,6 @@ function createComponent({ props = {}, shallow = false, Component = StageEventLi
const func = shallow ? shallowMount : mount; const func = shallow ? shallowMount : mount;
return func(Component, { return func(Component, {
attachToDocument: true, attachToDocument: true,
sync: false,
propsData: { propsData: {
stage: issueStage, stage: issueStage,
events: issueEvents, events: issueEvents,
......
...@@ -51,7 +51,6 @@ function createComponent(props = {}, shallow = false) { ...@@ -51,7 +51,6 @@ function createComponent(props = {}, shallow = false) {
stubs: { stubs: {
'gl-loading-icon': true, 'gl-loading-icon': true,
}, },
sync: false,
attachToDocument: true, attachToDocument: true,
}); });
} }
......
...@@ -37,7 +37,6 @@ describe('ProductivityApp component', () => { ...@@ -37,7 +37,6 @@ describe('ProductivityApp component', () => {
wrapper = shallowMount(ProductivityApp, { wrapper = shallowMount(ProductivityApp, {
localVue, localVue,
store, store,
sync: false,
propsData, propsData,
methods: { methods: {
...actionSpies, ...actionSpies,
......
...@@ -26,7 +26,6 @@ describe('FilterDropdowns component', () => { ...@@ -26,7 +26,6 @@ describe('FilterDropdowns component', () => {
wrapper = shallowMount(FilterDropdowns, { wrapper = shallowMount(FilterDropdowns, {
localVue, localVue,
store, store,
sync: false,
propsData: {}, propsData: {},
methods: { methods: {
...actionSpies, ...actionSpies,
......
...@@ -25,7 +25,6 @@ describe('MetricChart component', () => { ...@@ -25,7 +25,6 @@ describe('MetricChart component', () => {
const factory = (props = defaultProps) => { const factory = (props = defaultProps) => {
wrapper = shallowMount(MetricChart, { wrapper = shallowMount(MetricChart, {
sync: false,
propsData: { ...props }, propsData: { ...props },
slots: { slots: {
default: mockChart, default: mockChart,
......
...@@ -12,7 +12,6 @@ describe('MetricColumn component', () => { ...@@ -12,7 +12,6 @@ describe('MetricColumn component', () => {
const factory = (props = defaultProps) => { const factory = (props = defaultProps) => {
wrapper = shallowMount(MetricColumn, { wrapper = shallowMount(MetricColumn, {
sync: false,
propsData: { ...props }, propsData: { ...props },
}); });
}; };
......
...@@ -15,7 +15,6 @@ describe('MergeRequestTableRow component', () => { ...@@ -15,7 +15,6 @@ describe('MergeRequestTableRow component', () => {
const factory = (props = defaultProps) => { const factory = (props = defaultProps) => {
wrapper = shallowMount(MergeRequestTableRow, { wrapper = shallowMount(MergeRequestTableRow, {
sync: false,
propsData: { ...props }, propsData: { ...props },
}); });
}; };
......
...@@ -21,7 +21,6 @@ describe('MergeRequestTable component', () => { ...@@ -21,7 +21,6 @@ describe('MergeRequestTable component', () => {
const factory = (props = defaultProps) => { const factory = (props = defaultProps) => {
wrapper = shallowMount(MergeRequestTable, { wrapper = shallowMount(MergeRequestTable, {
sync: false,
propsData: { ...props }, propsData: { ...props },
}); });
}; };
......
...@@ -30,7 +30,6 @@ describe('GroupsDropdownFilter component', () => { ...@@ -30,7 +30,6 @@ describe('GroupsDropdownFilter component', () => {
const createComponent = (props = {}) => { const createComponent = (props = {}) => {
wrapper = mount(GroupsDropdownFilter, { wrapper = mount(GroupsDropdownFilter, {
sync: false,
propsData: { propsData: {
...props, ...props,
}, },
......
...@@ -34,7 +34,6 @@ describe('ProjectsDropdownFilter component', () => { ...@@ -34,7 +34,6 @@ describe('ProjectsDropdownFilter component', () => {
const createComponent = (props = {}) => { const createComponent = (props = {}) => {
wrapper = mount(ProjectsDropdownFilter, { wrapper = mount(ProjectsDropdownFilter, {
sync: false,
propsData: { propsData: {
groupId: 1, groupId: 1,
...props, ...props,
......
...@@ -12,7 +12,6 @@ describe('Approval Check Popover', () => { ...@@ -12,7 +12,6 @@ describe('Approval Check Popover', () => {
propsData: { propsData: {
title: 'Title', title: 'Title',
}, },
sync: false,
attachToDocument: true, attachToDocument: true,
}); });
}); });
......
...@@ -14,7 +14,6 @@ describe('Approval Check Popover', () => { ...@@ -14,7 +14,6 @@ describe('Approval Check Popover', () => {
beforeEach(() => { beforeEach(() => {
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
propsData: { rule: {} }, propsData: { rule: {} },
sync: false,
}); });
}); });
......
...@@ -23,7 +23,6 @@ describe('Approvals ApproversListItem', () => { ...@@ -23,7 +23,6 @@ describe('Approvals ApproversListItem', () => {
const factory = (options = {}) => { const factory = (options = {}) => {
wrapper = shallowMount(ApproversListItem, { wrapper = shallowMount(ApproversListItem, {
...options, ...options,
sync: false,
}); });
}; };
......
...@@ -12,7 +12,6 @@ describe('Empty Rule Name', () => { ...@@ -12,7 +12,6 @@ describe('Empty Rule Name', () => {
eligibleApproversDocsPath: 'some/path', eligibleApproversDocsPath: 'some/path',
...props, ...props,
}, },
sync: false,
}); });
}; };
......
...@@ -11,7 +11,6 @@ describe('Empty Rule', () => { ...@@ -11,7 +11,6 @@ describe('Empty Rule', () => {
rule: {}, rule: {},
...props, ...props,
}, },
sync: false,
}); });
}; };
......
...@@ -22,7 +22,6 @@ describe('Rule Input', () => { ...@@ -22,7 +22,6 @@ describe('Rule Input', () => {
}, },
localVue, localVue,
store: new Vuex.Store(store), store: new Vuex.Store(store),
sync: false,
}); });
}; };
......
...@@ -20,7 +20,6 @@ describe('SubscriptionApp component', () => { ...@@ -20,7 +20,6 @@ describe('SubscriptionApp component', () => {
wrapper = shallowMount(SubscriptionApp, { wrapper = shallowMount(SubscriptionApp, {
store, store,
sync: false,
propsData: { ...props }, propsData: { ...props },
}); });
}; };
......
...@@ -24,7 +24,6 @@ describe('SubscriptionTable component', () => { ...@@ -24,7 +24,6 @@ describe('SubscriptionTable component', () => {
wrapper = shallowMount(SubscriptionTable, { wrapper = shallowMount(SubscriptionTable, {
...options, ...options,
store, store,
sync: false,
}); });
}; };
......
...@@ -20,7 +20,6 @@ describe('BoardScope', () => { ...@@ -20,7 +20,6 @@ describe('BoardScope', () => {
wrapper = mount(BoardScope, { wrapper = mount(BoardScope, {
propsData, propsData,
sync: false,
}); });
({ vm } = wrapper); ({ vm } = wrapper);
......
...@@ -41,7 +41,6 @@ describe('BoardSettingsSideBar', () => { ...@@ -41,7 +41,6 @@ describe('BoardSettingsSideBar', () => {
data() { data() {
return localState; return localState;
}, },
sync: false,
}); });
}; };
......
...@@ -21,7 +21,6 @@ describe('Issue card component', () => { ...@@ -21,7 +21,6 @@ describe('Issue card component', () => {
issueLinkBase: '/test', issueLinkBase: '/test',
...props, ...props,
}, },
sync: false,
attachToDocument: true, attachToDocument: true,
}); });
}; };
......
...@@ -42,7 +42,6 @@ describe('Environments', () => { ...@@ -42,7 +42,6 @@ describe('Environments', () => {
wrapper = mount(Environments, { wrapper = mount(Environments, {
propsData: { ...propsData, environments }, propsData: { ...propsData, environments },
stubs: { deploymentInstance: '<div class="js-deployment-instance"></div>' }, stubs: { deploymentInstance: '<div class="js-deployment-instance"></div>' },
sync: false,
}); });
table = wrapper.find(GlTable); table = wrapper.find(GlTable);
......
...@@ -36,7 +36,6 @@ describe('custom metrics form fields component', () => { ...@@ -36,7 +36,6 @@ describe('custom metrics form fields component', () => {
...props, ...props,
}, },
csrfToken, csrfToken,
sync: false,
methods, methods,
}); });
}; };
......
...@@ -34,7 +34,6 @@ describe('DependenciesApp component', () => { ...@@ -34,7 +34,6 @@ describe('DependenciesApp component', () => {
wrapper = mount(DependenciesApp, { wrapper = mount(DependenciesApp, {
store, store,
sync: false,
attachToDocument: true, attachToDocument: true,
propsData: { ...props }, propsData: { ...props },
stubs, stubs,
......
...@@ -18,7 +18,6 @@ describe('DependenciesActions component', () => { ...@@ -18,7 +18,6 @@ describe('DependenciesActions component', () => {
wrapper = shallowMount(DependenciesActions, { wrapper = shallowMount(DependenciesActions, {
...options, ...options,
store, store,
sync: false,
attachToDocument: true, attachToDocument: true,
propsData: { ...propsData }, propsData: { ...propsData },
}); });
......
...@@ -11,7 +11,6 @@ describe('DependenciesTableRow component', () => { ...@@ -11,7 +11,6 @@ describe('DependenciesTableRow component', () => {
const factory = ({ propsData, ...options } = {}) => { const factory = ({ propsData, ...options } = {}) => {
wrapper = shallowMount(DependenciesTableRow, { wrapper = shallowMount(DependenciesTableRow, {
...options, ...options,
sync: false,
propsData: { ...propsData }, propsData: { ...propsData },
}); });
}; };
......
...@@ -9,7 +9,6 @@ describe('DependenciesTable component', () => { ...@@ -9,7 +9,6 @@ describe('DependenciesTable component', () => {
const factory = ({ propsData, ...options } = {}) => { const factory = ({ propsData, ...options } = {}) => {
wrapper = shallowMount(DependenciesTable, { wrapper = shallowMount(DependenciesTable, {
...options, ...options,
sync: false,
propsData: { ...propsData }, propsData: { ...propsData },
}); });
}; };
......
...@@ -18,7 +18,6 @@ describe('DependencyLicenseLinks component', () => { ...@@ -18,7 +18,6 @@ describe('DependencyLicenseLinks component', () => {
const licenses = addUrls(createLicenses(numLicenses), numLicensesWithUrl); const licenses = addUrls(createLicenses(numLicenses), numLicensesWithUrl);
wrapper = shallowMount(DependenciesLicenseLinks, { wrapper = shallowMount(DependenciesLicenseLinks, {
sync: false,
attachToDocument: true, attachToDocument: true,
propsData: { propsData: {
licenses, licenses,
......
...@@ -7,7 +7,6 @@ describe('DependencyListIncompleteAlert component', () => { ...@@ -7,7 +7,6 @@ describe('DependencyListIncompleteAlert component', () => {
const factory = (options = {}) => { const factory = (options = {}) => {
wrapper = shallowMount(DependencyListIncompleteAlert, { wrapper = shallowMount(DependencyListIncompleteAlert, {
sync: false,
...options, ...options,
}); });
}; };
......
...@@ -12,7 +12,6 @@ describe('DependencyListJobFailedAlert component', () => { ...@@ -12,7 +12,6 @@ describe('DependencyListJobFailedAlert component', () => {
const factory = (options = {}) => { const factory = (options = {}) => {
wrapper = shallowMount(DependencyListJobFailedAlert, { wrapper = shallowMount(DependencyListJobFailedAlert, {
sync: false,
...options, ...options,
}); });
}; };
......
...@@ -9,7 +9,6 @@ describe('DependencyVulnerability component', () => { ...@@ -9,7 +9,6 @@ describe('DependencyVulnerability component', () => {
const factory = ({ propsData, ...options } = {}) => { const factory = ({ propsData, ...options } = {}) => {
wrapper = shallowMount(DependencyVulnerability, { wrapper = shallowMount(DependencyVulnerability, {
...options, ...options,
sync: false,
propsData: { ...propsData }, propsData: { ...propsData },
}); });
}; };
......
...@@ -16,7 +16,6 @@ describe('PaginatedDependenciesTable component', () => { ...@@ -16,7 +16,6 @@ describe('PaginatedDependenciesTable component', () => {
wrapper = shallowMount(PaginatedDependenciesTable, { wrapper = shallowMount(PaginatedDependenciesTable, {
store, store,
sync: false,
propsData: { ...props }, propsData: { ...props },
}); });
}; };
......
...@@ -13,7 +13,6 @@ describe('Batch delete button component', () => { ...@@ -13,7 +13,6 @@ describe('Batch delete button component', () => {
propsData: { propsData: {
isDeleting, isDeleting,
}, },
sync: false,
directives: { directives: {
GlModalDirective, GlModalDirective,
}, },
......
...@@ -30,7 +30,6 @@ describe('Design discussions component', () => { ...@@ -30,7 +30,6 @@ describe('Design discussions component', () => {
function createComponent(props = {}) { function createComponent(props = {}) {
wrapper = shallowMount(DesignDiscussion, { wrapper = shallowMount(DesignDiscussion, {
sync: false,
propsData: { propsData: {
discussion: { discussion: {
id: '0', id: '0',
......
...@@ -18,7 +18,6 @@ describe('Design note component', () => { ...@@ -18,7 +18,6 @@ describe('Design note component', () => {
function createComponent(props = {}) { function createComponent(props = {}) {
wrapper = shallowMount(DesignNote, { wrapper = shallowMount(DesignNote, {
sync: false,
propsData: { propsData: {
note: {}, note: {},
...props, ...props,
......
...@@ -10,7 +10,6 @@ describe('Design reply form component', () => { ...@@ -10,7 +10,6 @@ describe('Design reply form component', () => {
function createComponent(props = {}) { function createComponent(props = {}) {
wrapper = shallowMount(DesignReplyForm, { wrapper = shallowMount(DesignReplyForm, {
sync: false,
propsData: { propsData: {
value: '', value: '',
isSaving: false, isSaving: false,
......
...@@ -30,7 +30,6 @@ describe('Design overlay component', () => { ...@@ -30,7 +30,6 @@ describe('Design overlay component', () => {
function createComponent(props = {}) { function createComponent(props = {}) {
wrapper = shallowMount(DesignOverlay, { wrapper = shallowMount(DesignOverlay, {
sync: false,
propsData: { propsData: {
position: { position: {
width: 100, width: 100,
......
...@@ -6,7 +6,6 @@ describe('Design management large image component', () => { ...@@ -6,7 +6,6 @@ describe('Design management large image component', () => {
function createComponent(propsData) { function createComponent(propsData) {
wrapper = shallowMount(DesignImage, { wrapper = shallowMount(DesignImage, {
sync: false,
propsData, propsData,
}); });
} }
......
...@@ -22,7 +22,6 @@ describe('Design management list item component', () => { ...@@ -22,7 +22,6 @@ describe('Design management list item component', () => {
isLoading = false, isLoading = false,
} = {}) { } = {}) {
wrapper = shallowMount(Item, { wrapper = shallowMount(Item, {
sync: false,
localVue, localVue,
router, router,
propsData: { propsData: {
......
...@@ -27,7 +27,6 @@ describe('Design management toolbar component', () => { ...@@ -27,7 +27,6 @@ describe('Design management toolbar component', () => {
updatedAt.setHours(updatedAt.getHours() - 1); updatedAt.setHours(updatedAt.getHours() - 1);
wrapper = shallowMount(Toolbar, { wrapper = shallowMount(Toolbar, {
sync: false,
localVue, localVue,
router, router,
propsData: { propsData: {
......
...@@ -11,7 +11,6 @@ describe('Design management pagination button component', () => { ...@@ -11,7 +11,6 @@ describe('Design management pagination button component', () => {
function createComponent(design = null) { function createComponent(design = null) {
wrapper = shallowMount(PaginationButton, { wrapper = shallowMount(PaginationButton, {
sync: false,
localVue, localVue,
router, router,
propsData: { propsData: {
......
...@@ -7,7 +7,6 @@ describe('Design management upload button component', () => { ...@@ -7,7 +7,6 @@ describe('Design management upload button component', () => {
function createComponent(isSaving = false, isInverted = false) { function createComponent(isSaving = false, isInverted = false) {
wrapper = shallowMount(UploadButton, { wrapper = shallowMount(UploadButton, {
attachToDocument: true, attachToDocument: true,
sync: false,
propsData: { propsData: {
isSaving, isSaving,
isInverted, isInverted,
......
...@@ -58,7 +58,6 @@ describe('Design management design index page', () => { ...@@ -58,7 +58,6 @@ describe('Design management design index page', () => {
}; };
wrapper = shallowMount(DesignIndex, { wrapper = shallowMount(DesignIndex, {
sync: false,
propsData: { id: '1' }, propsData: { id: '1' },
mocks: { $apollo }, mocks: { $apollo },
stubs: { stubs: {
......
...@@ -85,7 +85,6 @@ describe('Design management index page', () => { ...@@ -85,7 +85,6 @@ describe('Design management index page', () => {
}; };
wrapper = shallowMount(Index, { wrapper = shallowMount(Index, {
sync: false,
mocks: { $apollo }, mocks: { $apollo },
localVue, localVue,
router, router,
......
...@@ -65,7 +65,6 @@ describe('EE DiffLineNoteForm', () => { ...@@ -65,7 +65,6 @@ describe('EE DiffLineNoteForm', () => {
...props, ...props,
}, },
store, store,
sync: false,
localVue, localVue,
}); });
}; };
......
...@@ -18,7 +18,6 @@ describe('Deploy Board', () => { ...@@ -18,7 +18,6 @@ describe('Deploy Board', () => {
environmentName: environment.name, environmentName: environment.name,
...props, ...props,
}, },
sync: false,
}); });
describe('with valid data', () => { describe('with valid data', () => {
......
...@@ -25,7 +25,6 @@ describe('Environment Header', () => { ...@@ -25,7 +25,6 @@ describe('Environment Header', () => {
describe('renders name and link to app', () => { describe('renders name and link to app', () => {
beforeEach(() => { beforeEach(() => {
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
sync: false,
attachToDocument: true, attachToDocument: true,
propsData, propsData,
}); });
...@@ -61,7 +60,6 @@ describe('Environment Header', () => { ...@@ -61,7 +60,6 @@ describe('Environment Header', () => {
propsData.environment.name = 'review/testing'; propsData.environment.name = 'review/testing';
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
sync: false,
attachToDocument: true, attachToDocument: true,
propsData, propsData,
}); });
...@@ -87,7 +85,6 @@ describe('Environment Header', () => { ...@@ -87,7 +85,6 @@ describe('Environment Header', () => {
propsData.hasErrors = true; propsData.hasErrors = true;
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
sync: false,
attachToDocument: true, attachToDocument: true,
propsData, propsData,
}); });
...@@ -103,7 +100,6 @@ describe('Environment Header', () => { ...@@ -103,7 +100,6 @@ describe('Environment Header', () => {
propsData.hasPipelineFailed = true; propsData.hasPipelineFailed = true;
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
sync: false,
attachToDocument: true, attachToDocument: true,
propsData, propsData,
}); });
......
...@@ -14,7 +14,6 @@ describe('Environment', () => { ...@@ -14,7 +14,6 @@ describe('Environment', () => {
environment, environment,
}; };
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
sync: false,
attachToDocument: true, attachToDocument: true,
propsData, propsData,
}); });
...@@ -92,7 +91,6 @@ describe('Environment', () => { ...@@ -92,7 +91,6 @@ describe('Environment', () => {
}, },
}; };
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
sync: false,
attachToDocument: true, attachToDocument: true,
propsData, propsData,
}); });
...@@ -111,7 +109,6 @@ describe('Environment', () => { ...@@ -111,7 +109,6 @@ describe('Environment', () => {
}, },
}; };
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
sync: false,
attachToDocument: true, attachToDocument: true,
propsData, propsData,
}); });
......
...@@ -22,7 +22,6 @@ describe('Project Header', () => { ...@@ -22,7 +22,6 @@ describe('Project Header', () => {
beforeEach(() => { beforeEach(() => {
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
sync: false,
attachToDocument: true, attachToDocument: true,
propsData, propsData,
}); });
......
...@@ -50,7 +50,6 @@ describe('SidebarDatePicker', () => { ...@@ -50,7 +50,6 @@ describe('SidebarDatePicker', () => {
...mockDatePickerProps, ...mockDatePickerProps,
...props, ...props,
}, },
sync: false,
}); });
}; };
...@@ -64,7 +63,6 @@ describe('SidebarDatePicker', () => { ...@@ -64,7 +63,6 @@ describe('SidebarDatePicker', () => {
const anotherWrapper = shallowMount(SidebarDatepicker, { const anotherWrapper = shallowMount(SidebarDatepicker, {
propsData: mockDatePickerProps, propsData: mockDatePickerProps,
sync: false,
}); });
const firstInputName = wrapper.find('input').attributes('name'); const firstInputName = wrapper.find('input').attributes('name');
......
...@@ -21,7 +21,6 @@ describe('Configure Feature Flags Modal', () => { ...@@ -21,7 +21,6 @@ describe('Configure Feature Flags Modal', () => {
wrapper = shallowMount(Component, { wrapper = shallowMount(Component, {
propsData, propsData,
sync: false,
attachToDocument: true, attachToDocument: true,
}); });
}); });
......
...@@ -35,7 +35,6 @@ describe('Edit feature flag form', () => { ...@@ -35,7 +35,6 @@ describe('Edit feature flag form', () => {
}, },
}, },
store, store,
sync: false,
}); });
}; };
......
...@@ -15,7 +15,6 @@ describe('Feature flags > Environments dropdown ', () => { ...@@ -15,7 +15,6 @@ describe('Feature flags > Environments dropdown ', () => {
endpoint: `${TEST_HOST}/environments.json'`, endpoint: `${TEST_HOST}/environments.json'`,
...props, ...props,
}, },
sync: false,
}); });
}; };
......
...@@ -31,7 +31,6 @@ describe('Feature flags', () => { ...@@ -31,7 +31,6 @@ describe('Feature flags', () => {
const factory = (propsData = mockData) => { const factory = (propsData = mockData) => {
wrapper = shallowMount(FeatureFlagsComponent, { wrapper = shallowMount(FeatureFlagsComponent, {
propsData, propsData,
sync: false,
}); });
}; };
......
...@@ -41,7 +41,6 @@ describe('Feature flag table', () => { ...@@ -41,7 +41,6 @@ describe('Feature flag table', () => {
const createWrapper = (propsData, opts = {}) => { const createWrapper = (propsData, opts = {}) => {
wrapper = shallowMount(FeatureFlagsTable, { wrapper = shallowMount(FeatureFlagsTable, {
propsData, propsData,
sync: false,
...opts, ...opts,
}); });
}; };
......
...@@ -39,7 +39,6 @@ describe('feature flag form', () => { ...@@ -39,7 +39,6 @@ describe('feature flag form', () => {
featureFlagsUsersPerEnvironment: true, featureFlagsUsersPerEnvironment: true,
}, },
}, },
sync: false,
}); });
}; };
......
...@@ -22,7 +22,6 @@ describe('New feature flag form', () => { ...@@ -22,7 +22,6 @@ describe('New feature flag form', () => {
environmentsEndpoint: 'environments.json', environmentsEndpoint: 'environments.json',
}, },
store, store,
sync: false,
}); });
}; };
......
...@@ -16,7 +16,6 @@ describe('ee/ide/components/ide_status_list', () => { ...@@ -16,7 +16,6 @@ describe('ee/ide/components/ide_status_list', () => {
wrapper = mount(IdeStatusList, { wrapper = mount(IdeStatusList, {
localVue, localVue,
sync: false,
store, store,
}); });
}; };
......
...@@ -17,7 +17,6 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status_safe', () => { ...@@ -17,7 +17,6 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status_safe', () => {
wrapper = shallowMount(TerminalSyncStatusSafe, { wrapper = shallowMount(TerminalSyncStatusSafe, {
localVue, localVue,
sync: false,
store, store,
}); });
}; };
......
...@@ -38,7 +38,6 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status', () => { ...@@ -38,7 +38,6 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status', () => {
wrapper = shallowMount(TerminalSyncStatus, { wrapper = shallowMount(TerminalSyncStatus, {
attachToDocument: true, attachToDocument: true,
localVue, localVue,
sync: false,
store, store,
}); });
}; };
......
...@@ -53,7 +53,6 @@ describe('LicenseManagement', () => { ...@@ -53,7 +53,6 @@ describe('LicenseManagement', () => {
LicenseManagementRow: true, LicenseManagementRow: true,
PaginatedList: PaginatedListMock, PaginatedList: PaginatedListMock,
}, },
sync: false,
store: fakeStore, store: fakeStore,
}); });
}; };
......
...@@ -48,7 +48,6 @@ describe('EnvironmentLogs', () => { ...@@ -48,7 +48,6 @@ describe('EnvironmentLogs', () => {
const initWrapper = () => { const initWrapper = () => {
wrapper = shallowMount(EnvironmentLogsComponent, { wrapper = shallowMount(EnvironmentLogsComponent, {
attachToDocument: true, attachToDocument: true,
sync: false,
propsData, propsData,
store, store,
stubs: { stubs: {
......
...@@ -21,7 +21,6 @@ describe('LogControlButtons', () => { ...@@ -21,7 +21,6 @@ describe('LogControlButtons', () => {
const initWrapper = () => { const initWrapper = () => {
wrapper = shallowMount(LogControlButtons, { wrapper = shallowMount(LogControlButtons, {
attachToDocument: true, attachToDocument: true,
sync: false,
}); });
}; };
......
...@@ -54,7 +54,6 @@ describe('AlertWidget', () => { ...@@ -54,7 +54,6 @@ describe('AlertWidget', () => {
...defaultProps, ...defaultProps,
...propsData, ...propsData,
}, },
sync: false,
}); });
}; };
const findWidgetForm = () => wrapper.find({ ref: 'widgetForm' }); const findWidgetForm = () => wrapper.find({ ref: 'widgetForm' });
......
...@@ -26,7 +26,6 @@ describe('Panel Type', () => { ...@@ -26,7 +26,6 @@ describe('Panel Type', () => {
propsData, propsData,
store, store,
localVue, localVue,
sync: false,
attachToDocument: true, attachToDocument: true,
}); });
}; };
......
...@@ -13,7 +13,6 @@ describe('noteActions', () => { ...@@ -13,7 +13,6 @@ describe('noteActions', () => {
shallowMount(noteActions, { shallowMount(noteActions, {
store, store,
propsData, propsData,
sync: false,
attachToDocument: true, attachToDocument: true,
}); });
......
...@@ -12,7 +12,6 @@ describe('project header component', () => { ...@@ -12,7 +12,6 @@ describe('project header component', () => {
propsData: { propsData: {
project: mockOneProject, project: mockOneProject,
}, },
sync: false,
attachToDocument: true, attachToDocument: true,
}); });
}; };
......
...@@ -32,7 +32,6 @@ describe('PackagesApp', () => { ...@@ -32,7 +32,6 @@ describe('PackagesApp', () => {
wrapper = mount(PackagesApp, { wrapper = mount(PackagesApp, {
propsData, propsData,
sync: false,
attachToDocument: true, attachToDocument: true,
}); });
} }
......
...@@ -24,7 +24,6 @@ describe('LicenseComponentLinks component', () => { ...@@ -24,7 +24,6 @@ describe('LicenseComponentLinks component', () => {
components, components,
title, title,
}, },
sync: false,
}); });
}; };
......
...@@ -10,7 +10,6 @@ describe('LicensesTableRow component', () => { ...@@ -10,7 +10,6 @@ describe('LicensesTableRow component', () => {
const factory = (propsData = {}) => { const factory = (propsData = {}) => {
wrapper = shallowMount(LicensesTableRow, { wrapper = shallowMount(LicensesTableRow, {
sync: false,
propsData, propsData,
}); });
}; };
......
...@@ -8,7 +8,6 @@ describe('LicensesTable component', () => { ...@@ -8,7 +8,6 @@ describe('LicensesTable component', () => {
const factory = (propsData = {}) => { const factory = (propsData = {}) => {
wrapper = shallowMount(LicensesTable, { wrapper = shallowMount(LicensesTable, {
sync: false,
propsData: { ...propsData }, propsData: { ...propsData },
}); });
}; };
......
...@@ -22,7 +22,6 @@ describe('PaginatedLicensesTable component', () => { ...@@ -22,7 +22,6 @@ describe('PaginatedLicensesTable component', () => {
wrapper = shallowMount(PaginatedLicensesTable, { wrapper = shallowMount(PaginatedLicensesTable, {
store, store,
sync: false,
}); });
}; };
......
...@@ -160,7 +160,6 @@ describe('ServiceDeskRoot', () => { ...@@ -160,7 +160,6 @@ describe('ServiceDeskRoot', () => {
selectedTemplate: 'Bug', selectedTemplate: 'Bug',
templates: ['Bug', 'Documentation'], templates: ['Bug', 'Documentation'],
}, },
sync: false,
}); });
wrapper.find('button.btn-success').trigger('click'); wrapper.find('button.btn-success').trigger('click');
...@@ -184,7 +183,6 @@ describe('ServiceDeskRoot', () => { ...@@ -184,7 +183,6 @@ describe('ServiceDeskRoot', () => {
selectedTemplate: 'Bug', selectedTemplate: 'Bug',
templates: ['Bug', 'Documentation'], templates: ['Bug', 'Documentation'],
}, },
sync: false,
}); });
wrapper.find('button.btn-success').trigger('click'); wrapper.find('button.btn-success').trigger('click');
...@@ -208,7 +206,6 @@ describe('ServiceDeskRoot', () => { ...@@ -208,7 +206,6 @@ describe('ServiceDeskRoot', () => {
selectedTemplate: 'Bug', selectedTemplate: 'Bug',
templates: ['Bug', 'Documentation'], templates: ['Bug', 'Documentation'],
}, },
sync: false,
}); });
wrapper.find('button.btn-success').trigger('click'); wrapper.find('button.btn-success').trigger('click');
......
...@@ -14,7 +14,6 @@ describe('CreateIssueForm', () => { ...@@ -14,7 +14,6 @@ describe('CreateIssueForm', () => {
const createWrapper = () => { const createWrapper = () => {
wrapper = shallowMount(CreateIssueForm, { wrapper = shallowMount(CreateIssueForm, {
sync: false,
stubs: { stubs: {
GlDropdown: GlDropdownStub, GlDropdown: GlDropdownStub,
}, },
......
...@@ -29,7 +29,6 @@ const createComponent = () => { ...@@ -29,7 +29,6 @@ const createComponent = () => {
return shallowMount(RelatedItemsTreeApp, { return shallowMount(RelatedItemsTreeApp, {
store, store,
sync: false,
}); });
}; };
......
...@@ -31,7 +31,6 @@ const createComponent = ({ slots } = {}) => { ...@@ -31,7 +31,6 @@ const createComponent = ({ slots } = {}) => {
return shallowMount(RelatedItemsTreeHeader, { return shallowMount(RelatedItemsTreeHeader, {
attachToDocument: true, attachToDocument: true,
sync: false,
store, store,
slots, slots,
}); });
......
...@@ -46,7 +46,6 @@ const createComponent = (parentItem = mockParentItem, item = mockItem) => { ...@@ -46,7 +46,6 @@ const createComponent = (parentItem = mockParentItem, item = mockItem) => {
return shallowMount(TreeItemBody, { return shallowMount(TreeItemBody, {
attachToDocument: true, attachToDocument: true,
sync: false,
store, store,
propsData: { propsData: {
parentItem, parentItem,
......
...@@ -52,7 +52,6 @@ const createComponent = (parentItem = mockParentItem, item = mockItem) => { ...@@ -52,7 +52,6 @@ const createComponent = (parentItem = mockParentItem, item = mockItem) => {
parentItem, parentItem,
item, item,
}, },
sync: false,
}); });
}; };
......
...@@ -40,7 +40,6 @@ describe('Security Dashboard app', () => { ...@@ -40,7 +40,6 @@ describe('Security Dashboard app', () => {
store = createStore(); store = createStore();
wrapper = shallowMount(SecurityDashboardApp, { wrapper = shallowMount(SecurityDashboardApp, {
store, store,
sync: false,
methods: { methods: {
lockFilter: lockFilterSpy, lockFilter: lockFilterSpy,
setPipelineId: setPipelineIdSpy, setPipelineId: setPipelineIdSpy,
......
...@@ -37,7 +37,6 @@ describe('Group Security Dashboard component', () => { ...@@ -37,7 +37,6 @@ describe('Group Security Dashboard component', () => {
wrapper = shallowMount(GroupSecurityDashboard, { wrapper = shallowMount(GroupSecurityDashboard, {
localVue, localVue,
store, store,
sync: false,
propsData: { propsData: {
dashboardDocumentation, dashboardDocumentation,
emptyStateSvgPath, emptyStateSvgPath,
......
...@@ -50,7 +50,6 @@ describe('Instance Security Dashboard component', () => { ...@@ -50,7 +50,6 @@ describe('Instance Security Dashboard component', () => {
wrapper = shallowMount(InstanceSecurityDashboard, { wrapper = shallowMount(InstanceSecurityDashboard, {
localVue, localVue,
store, store,
sync: false,
propsData: { propsData: {
dashboardDocumentation, dashboardDocumentation,
emptyStateSvgPath, emptyStateSvgPath,
......
...@@ -18,7 +18,6 @@ describe('Project List component', () => { ...@@ -18,7 +18,6 @@ describe('Project List component', () => {
projects, projects,
showLoadingIndicator, showLoadingIndicator,
}, },
sync: false,
}); });
}; };
......
...@@ -53,7 +53,6 @@ describe('Project Manager component', () => { ...@@ -53,7 +53,6 @@ describe('Project Manager component', () => {
wrapper = shallowMount(ProjectManager, { wrapper = shallowMount(ProjectManager, {
localVue, localVue,
store, store,
sync: false,
}); });
}; };
......
...@@ -27,7 +27,6 @@ describe('Security Dashboard Table', () => { ...@@ -27,7 +27,6 @@ describe('Security Dashboard Table', () => {
wrapper = shallowMount(SecurityDashboardTable, { wrapper = shallowMount(SecurityDashboardTable, {
localVue, localVue,
store, store,
sync: false,
}); });
store.state.vulnerabilities.vulnerabilitiesEndpoint = vulnerabilitiesEndpoint; store.state.vulnerabilities.vulnerabilitiesEndpoint = vulnerabilitiesEndpoint;
}); });
...@@ -93,7 +92,6 @@ describe('Security Dashboard Table', () => { ...@@ -93,7 +92,6 @@ describe('Security Dashboard Table', () => {
wrapper = shallowMount(SecurityDashboardTable, { wrapper = shallowMount(SecurityDashboardTable, {
localVue, localVue,
store, store,
sync: false,
slots: { slots: {
emptyState: '<div class="customEmptyState">Hello World</div>', emptyState: '<div class="customEmptyState">Hello World</div>',
}, },
......
...@@ -62,7 +62,6 @@ describe('Vulnerability Chart component', () => { ...@@ -62,7 +62,6 @@ describe('Vulnerability Chart component', () => {
...stubChildren(Chart), ...stubChildren(Chart),
...stubs, ...stubs,
}, },
sync: false,
}); });
}; };
......
...@@ -64,7 +64,6 @@ describe('Vulnerability Severity component', () => { ...@@ -64,7 +64,6 @@ describe('Vulnerability Severity component', () => {
wrapper = mount(VulnerabilitySeverity, { wrapper = mount(VulnerabilitySeverity, {
localVue, localVue,
store, store,
sync: false,
propsData, propsData,
}); });
}; };
......
...@@ -26,7 +26,6 @@ describe('Step', () => { ...@@ -26,7 +26,6 @@ describe('Step', () => {
store, store,
propsData: { ...initialProps, ...propsData }, propsData: { ...initialProps, ...propsData },
localVue, localVue,
sync: false,
}); });
}; };
......
...@@ -7,7 +7,6 @@ describe('Progress Bar', () => { ...@@ -7,7 +7,6 @@ describe('Progress Bar', () => {
const factory = propsData => { const factory = propsData => {
wrapper = shallowMount(component, { wrapper = shallowMount(component, {
propsData, propsData,
sync: false,
}); });
}; };
......
...@@ -28,7 +28,6 @@ describe('Subscription Details', () => { ...@@ -28,7 +28,6 @@ describe('Subscription Details', () => {
const createComponent = (opts = {}) => { const createComponent = (opts = {}) => {
wrapper = mount(Component, { wrapper = mount(Component, {
localVue, localVue,
sync: false,
store, store,
...opts, ...opts,
}); });
......
...@@ -42,7 +42,6 @@ describe('ThreatMonitoringApp component', () => { ...@@ -42,7 +42,6 @@ describe('ThreatMonitoringApp component', () => {
...propsData, ...propsData,
}, },
store, store,
sync: false,
}); });
}; };
......
...@@ -18,7 +18,6 @@ describe('ThreatMonitoringFilters component', () => { ...@@ -18,7 +18,6 @@ describe('ThreatMonitoringFilters component', () => {
wrapper = shallowMount(ThreatMonitoringFilters, { wrapper = shallowMount(ThreatMonitoringFilters, {
store, store,
sync: false,
}); });
}; };
......
...@@ -35,7 +35,6 @@ describe('WafStatisticsHistory component', () => { ...@@ -35,7 +35,6 @@ describe('WafStatisticsHistory component', () => {
wrapper = shallowMount(WafStatisticsHistory, { wrapper = shallowMount(WafStatisticsHistory, {
localVue, localVue,
store, store,
sync: false,
...options, ...options,
}); });
}; };
......
...@@ -14,7 +14,6 @@ describe('WafStatisticsSummary component', () => { ...@@ -14,7 +14,6 @@ describe('WafStatisticsSummary component', () => {
wrapper = shallowMount(WafStatisticsSummary, { wrapper = shallowMount(WafStatisticsSummary, {
store, store,
sync: false,
}); });
}; };
......
...@@ -19,7 +19,6 @@ describe('EE MRWidget approvals footer', () => { ...@@ -19,7 +19,6 @@ describe('EE MRWidget approvals footer', () => {
approvalRules: testApprovalRules(), approvalRules: testApprovalRules(),
...props, ...props,
}, },
sync: false,
}); });
}; };
......
...@@ -57,7 +57,6 @@ describe('EE MRWidget approvals list', () => { ...@@ -57,7 +57,6 @@ describe('EE MRWidget approvals list', () => {
const createComponent = (props = {}) => { const createComponent = (props = {}) => {
wrapper = shallowMount(ApprovalsList, { wrapper = shallowMount(ApprovalsList, {
propsData: props, propsData: props,
sync: false,
}); });
}; };
......
...@@ -14,7 +14,6 @@ describe('EE MRWidget approvals summary optional', () => { ...@@ -14,7 +14,6 @@ describe('EE MRWidget approvals summary optional', () => {
const createComponent = (props = {}) => { const createComponent = (props = {}) => {
wrapper = shallowMount(ApprovalsSummaryOptional, { wrapper = shallowMount(ApprovalsSummaryOptional, {
propsData: props, propsData: props,
sync: false,
attachToDocument: true, attachToDocument: true,
}); });
}; };
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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