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
36bf7e77
Commit
36bf7e77
authored
Jun 01, 2020
by
Gilang Gumilar
Committed by
Natalia Tepluhina
Jun 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update deprecated slot syntax in `./app/assets/javascripts/clusters/components/applications.vue`
parent
14b11b07
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
221 additions
and
178 deletions
+221
-178
app/assets/javascripts/clusters/components/applications.vue
app/assets/javascripts/clusters/components/applications.vue
+195
-174
changelogs/unreleased/update-deprecated-slot-syntax-in---clusters-applications-vue.yml
...deprecated-slot-syntax-in---clusters-applications-vue.yml
+0
-0
spec/frontend/clusters/components/applications_spec.js
spec/frontend/clusters/components/applications_spec.js
+26
-4
No files found.
app/assets/javascripts/clusters/components/applications.vue
View file @
36bf7e77
This diff is collapsed.
Click to expand it.
changelogs/unreleased/update-deprecated-slot-syntax-in---
app-assets-javascripts-clusters-compon
.yml
→
changelogs/unreleased/update-deprecated-slot-syntax-in---
clusters-applications-vue
.yml
View file @
36bf7e77
File moved
spec/frontend/clusters/components/applications_spec.js
View file @
36bf7e77
...
...
@@ -13,6 +13,14 @@ import FluentdOutputSettings from '~/clusters/components/fluentd_output_settings
describe
(
'
Applications
'
,
()
=>
{
let
vm
;
let
Applications
;
const
ApplicationRowStub
=
{
name
:
'
application-row-stub
'
,
template
:
`
<div>
<slot name="description"></slot>
</div>
`
,
};
beforeEach
(()
=>
{
Applications
=
Vue
.
extend
(
applications
);
...
...
@@ -202,7 +210,12 @@ describe('Applications', () => {
let
wrapper
;
beforeEach
(()
=>
{
wrapper
=
shallowMount
(
Applications
,
{
propsData
});
wrapper
=
shallowMount
(
Applications
,
{
propsData
,
stubs
:
{
ApplicationRow
:
ApplicationRowStub
,
},
});
});
afterEach
(()
=>
{
wrapper
.
destroy
();
...
...
@@ -436,7 +449,10 @@ describe('Applications', () => {
let
knativeDomainEditor
;
beforeEach
(()
=>
{
wrapper
=
shallowMount
(
Applications
,
{
propsData
});
wrapper
=
shallowMount
(
Applications
,
{
propsData
,
stubs
:
{
ApplicationRow
:
ApplicationRowStub
},
});
jest
.
spyOn
(
eventHub
,
'
$emit
'
);
knativeDomainEditor
=
wrapper
.
find
(
KnativeDomainEditor
);
...
...
@@ -504,7 +520,10 @@ describe('Applications', () => {
let
wrapper
;
beforeEach
(()
=>
{
wrapper
=
shallowMount
(
Applications
,
{
propsData
});
wrapper
=
shallowMount
(
Applications
,
{
propsData
,
stubs
:
{
ApplicationRow
:
ApplicationRowStub
},
});
});
afterEach
(()
=>
{
wrapper
.
destroy
();
...
...
@@ -563,7 +582,10 @@ describe('Applications', () => {
let
wrapper
;
beforeEach
(()
=>
{
wrapper
=
shallowMount
(
Applications
,
{
propsData
});
wrapper
=
shallowMount
(
Applications
,
{
propsData
,
stubs
:
{
ApplicationRow
:
ApplicationRowStub
},
});
});
afterEach
(()
=>
{
wrapper
.
destroy
();
...
...
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