Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
2daba22b
Commit
2daba22b
authored
Apr 07, 2019
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable sync mode for serverless tests
Sync mode by default will soon be removed.
parent
083e896d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
1 deletion
+9
-1
spec/frontend/serverless/components/area_spec.js
spec/frontend/serverless/components/area_spec.js
+1
-0
spec/frontend/serverless/components/environment_row_spec.js
spec/frontend/serverless/components/environment_row_spec.js
+1
-1
spec/frontend/serverless/components/function_details_spec.js
spec/frontend/serverless/components/function_details_spec.js
+4
-0
spec/frontend/serverless/components/missing_prometheus_spec.js
...frontend/serverless/components/missing_prometheus_spec.js
+1
-0
spec/frontend/serverless/components/pod_box_spec.js
spec/frontend/serverless/components/pod_box_spec.js
+1
-0
spec/frontend/serverless/components/url_spec.js
spec/frontend/serverless/components/url_spec.js
+1
-0
No files found.
spec/frontend/serverless/components/area_spec.js
View file @
2daba22b
...
@@ -16,6 +16,7 @@ describe('Area component', () => {
...
@@ -16,6 +16,7 @@ describe('Area component', () => {
slots
:
{
slots
:
{
default
:
mockWidgets
,
default
:
mockWidgets
,
},
},
sync
:
false
,
});
});
});
});
...
...
spec/frontend/serverless/components/environment_row_spec.js
View file @
2daba22b
...
@@ -5,7 +5,7 @@ import { mockServerlessFunctions, mockServerlessFunctionsDiffEnv } from '../mock
...
@@ -5,7 +5,7 @@ import { mockServerlessFunctions, mockServerlessFunctionsDiffEnv } from '../mock
import
{
translate
}
from
'
~/serverless/utils
'
;
import
{
translate
}
from
'
~/serverless/utils
'
;
const
createComponent
=
(
localVue
,
env
,
envName
)
=>
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
(
'
environment row component
'
,
()
=>
{
describe
(
'
default global cluster case
'
,
()
=>
{
describe
(
'
default global cluster case
'
,
()
=>
{
...
...
spec/frontend/serverless/components/function_details_spec.js
View file @
2daba22b
...
@@ -41,6 +41,7 @@ describe('functionDetailsComponent', () => {
...
@@ -41,6 +41,7 @@ describe('functionDetailsComponent', () => {
clustersPath
:
'
/clusters
'
,
clustersPath
:
'
/clusters
'
,
helpPath
:
'
/help
'
,
helpPath
:
'
/help
'
,
},
},
sync
:
false
,
});
});
expect
(
expect
(
...
@@ -68,6 +69,7 @@ describe('functionDetailsComponent', () => {
...
@@ -68,6 +69,7 @@ describe('functionDetailsComponent', () => {
clustersPath
:
'
/clusters
'
,
clustersPath
:
'
/clusters
'
,
helpPath
:
'
/help
'
,
helpPath
:
'
/help
'
,
},
},
sync
:
false
,
});
});
expect
(
component
.
vm
.
$el
.
querySelector
(
'
p
'
).
innerHTML
.
trim
()).
toContain
(
'
1 pod in use
'
);
expect
(
component
.
vm
.
$el
.
querySelector
(
'
p
'
).
innerHTML
.
trim
()).
toContain
(
'
1 pod in use
'
);
...
@@ -85,6 +87,7 @@ describe('functionDetailsComponent', () => {
...
@@ -85,6 +87,7 @@ describe('functionDetailsComponent', () => {
clustersPath
:
'
/clusters
'
,
clustersPath
:
'
/clusters
'
,
helpPath
:
'
/help
'
,
helpPath
:
'
/help
'
,
},
},
sync
:
false
,
});
});
expect
(
component
.
vm
.
$el
.
querySelector
(
'
p
'
).
innerHTML
.
trim
()).
toContain
(
'
3 pods in use
'
);
expect
(
component
.
vm
.
$el
.
querySelector
(
'
p
'
).
innerHTML
.
trim
()).
toContain
(
'
3 pods in use
'
);
...
@@ -102,6 +105,7 @@ describe('functionDetailsComponent', () => {
...
@@ -102,6 +105,7 @@ describe('functionDetailsComponent', () => {
clustersPath
:
'
/clusters
'
,
clustersPath
:
'
/clusters
'
,
helpPath
:
'
/help
'
,
helpPath
:
'
/help
'
,
},
},
sync
:
false
,
});
});
expect
(
expect
(
...
...
spec/frontend/serverless/components/missing_prometheus_spec.js
View file @
2daba22b
...
@@ -8,6 +8,7 @@ const createComponent = missingData =>
...
@@ -8,6 +8,7 @@ const createComponent = missingData =>
helpPath
:
'
/help
'
,
helpPath
:
'
/help
'
,
missingData
,
missingData
,
},
},
sync
:
false
,
}).
vm
;
}).
vm
;
describe
(
'
missingPrometheusComponent
'
,
()
=>
{
describe
(
'
missingPrometheusComponent
'
,
()
=>
{
...
...
spec/frontend/serverless/components/pod_box_spec.js
View file @
2daba22b
...
@@ -6,6 +6,7 @@ const createComponent = count =>
...
@@ -6,6 +6,7 @@ const createComponent = count =>
propsData
:
{
propsData
:
{
count
,
count
,
},
},
sync
:
false
,
}).
vm
;
}).
vm
;
describe
(
'
podBoxComponent
'
,
()
=>
{
describe
(
'
podBoxComponent
'
,
()
=>
{
...
...
spec/frontend/serverless/components/url_spec.js
View file @
2daba22b
...
@@ -7,6 +7,7 @@ const createComponent = uri =>
...
@@ -7,6 +7,7 @@ const createComponent = uri =>
propsData
:
{
propsData
:
{
uri
,
uri
,
},
},
sync
:
false
,
}).
vm
;
}).
vm
;
describe
(
'
urlComponent
'
,
()
=>
{
describe
(
'
urlComponent
'
,
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment