Skip to content
Snippets Groups Projects
Verified Commit 2daba22b authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett
Browse files

Disable sync mode for serverless tests

Sync mode by default will soon be removed.
parent 083e896d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -16,6 +16,7 @@ describe('Area component', () => {
slots: {
default: mockWidgets,
},
sync: false,
});
});
 
Loading
Loading
Loading
Loading
@@ -5,7 +5,7 @@ import { mockServerlessFunctions, mockServerlessFunctionsDiffEnv } from '../mock
import { translate } from '~/serverless/utils';
 
const createComponent = (localVue, env, envName) =>
shallowMount(environmentRowComponent, { localVue, propsData: { env, envName } }).vm;
shallowMount(environmentRowComponent, { localVue, propsData: { env, envName }, sync: false }).vm;
 
describe('environment row component', () => {
describe('default global cluster case', () => {
Loading
Loading
Loading
Loading
@@ -41,6 +41,7 @@ describe('functionDetailsComponent', () => {
clustersPath: '/clusters',
helpPath: '/help',
},
sync: false,
});
 
expect(
Loading
Loading
@@ -68,6 +69,7 @@ describe('functionDetailsComponent', () => {
clustersPath: '/clusters',
helpPath: '/help',
},
sync: false,
});
 
expect(component.vm.$el.querySelector('p').innerHTML.trim()).toContain('1 pod in use');
Loading
Loading
@@ -85,6 +87,7 @@ describe('functionDetailsComponent', () => {
clustersPath: '/clusters',
helpPath: '/help',
},
sync: false,
});
 
expect(component.vm.$el.querySelector('p').innerHTML.trim()).toContain('3 pods in use');
Loading
Loading
@@ -102,6 +105,7 @@ describe('functionDetailsComponent', () => {
clustersPath: '/clusters',
helpPath: '/help',
},
sync: false,
});
 
expect(
Loading
Loading
Loading
Loading
@@ -8,6 +8,7 @@ const createComponent = missingData =>
helpPath: '/help',
missingData,
},
sync: false,
}).vm;
 
describe('missingPrometheusComponent', () => {
Loading
Loading
Loading
Loading
@@ -6,6 +6,7 @@ const createComponent = count =>
propsData: {
count,
},
sync: false,
}).vm;
 
describe('podBoxComponent', () => {
Loading
Loading
Loading
Loading
@@ -7,6 +7,7 @@ const createComponent = uri =>
propsData: {
uri,
},
sync: false,
}).vm;
 
describe('urlComponent', () => {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment