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
a1104148
Commit
a1104148
authored
Jan 08, 2020
by
Illya Klymov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove incorrect localVue usage
localVue is required only with use method
parent
4372a6c9
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
10 deletions
+7
-10
ee/spec/frontend/ide/components/ide_status_list_spec.js
ee/spec/frontend/ide/components/ide_status_list_spec.js
+1
-1
ee/spec/frontend/ide/components/panes/right_spec.js
ee/spec/frontend/ide/components/panes/right_spec.js
+1
-1
ee/spec/frontend/ide/components/terminal/session_spec.js
ee/spec/frontend/ide/components/terminal/session_spec.js
+1
-1
ee/spec/frontend/ide/components/terminal/terminal_controls_spec.js
...rontend/ide/components/terminal/terminal_controls_spec.js
+2
-5
ee/spec/frontend/ide/components/terminal_sync/terminal_sync_status_safe_spec.js
...omponents/terminal_sync/terminal_sync_status_safe_spec.js
+1
-1
ee/spec/frontend/ide/components/terminal_sync/terminal_sync_status_spec.js
...ide/components/terminal_sync/terminal_sync_status_spec.js
+1
-1
No files found.
ee/spec/frontend/ide/components/ide_status_list_spec.js
View file @
a1104148
...
@@ -14,7 +14,7 @@ describe('ee/ide/components/ide_status_list', () => {
...
@@ -14,7 +14,7 @@ describe('ee/ide/components/ide_status_list', () => {
const
createComponent
=
()
=>
{
const
createComponent
=
()
=>
{
store
=
createStore
();
store
=
createStore
();
wrapper
=
mount
(
localVue
.
extend
(
IdeStatusList
)
,
{
wrapper
=
mount
(
IdeStatusList
,
{
localVue
,
localVue
,
sync
:
false
,
sync
:
false
,
store
,
store
,
...
...
ee/spec/frontend/ide/components/panes/right_spec.js
View file @
a1104148
...
@@ -20,7 +20,7 @@ describe('IDE EERightPane', () => {
...
@@ -20,7 +20,7 @@ describe('IDE EERightPane', () => {
},
},
});
});
wrapper
=
shallowMount
(
localVue
.
extend
(
EERightPane
)
,
{
localVue
,
store
});
wrapper
=
shallowMount
(
EERightPane
,
{
localVue
,
store
});
};
};
beforeEach
(()
=>
{
beforeEach
(()
=>
{
...
...
ee/spec/frontend/ide/components/terminal/session_spec.js
View file @
a1104148
...
@@ -25,7 +25,7 @@ describe('EE IDE TerminalSession', () => {
...
@@ -25,7 +25,7 @@ describe('EE IDE TerminalSession', () => {
},
},
});
});
wrapper
=
shallowMount
(
localVue
.
extend
(
TerminalSession
)
,
{
wrapper
=
shallowMount
(
TerminalSession
,
{
localVue
,
localVue
,
store
,
store
,
...
options
,
...
options
,
...
...
ee/spec/frontend/ide/components/terminal/terminal_controls_spec.js
View file @
a1104148
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
TerminalControls
from
'
ee/ide/components/terminal/terminal_controls.vue
'
;
import
TerminalControls
from
'
ee/ide/components/terminal/terminal_controls.vue
'
;
import
ScrollButton
from
'
~/ide/components/jobs/detail/scroll_button.vue
'
;
import
ScrollButton
from
'
~/ide/components/jobs/detail/scroll_button.vue
'
;
const
localVue
=
createLocalVue
();
describe
(
'
EE IDE TerminalControls
'
,
()
=>
{
describe
(
'
EE IDE TerminalControls
'
,
()
=>
{
let
wrapper
;
let
wrapper
;
let
buttons
;
let
buttons
;
const
factory
=
(
options
=
{})
=>
{
const
factory
=
(
options
=
{})
=>
{
wrapper
=
shallowMount
(
localVue
.
extend
(
TerminalControls
),
{
wrapper
=
shallowMount
(
TerminalControls
,
{
localVue
,
...
options
,
...
options
,
});
});
...
...
ee/spec/frontend/ide/components/terminal_sync/terminal_sync_status_safe_spec.js
View file @
a1104148
...
@@ -15,7 +15,7 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status_safe', () => {
...
@@ -15,7 +15,7 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status_safe', () => {
state
:
{},
state
:
{},
});
});
wrapper
=
shallowMount
(
localVue
.
extend
(
TerminalSyncStatusSafe
)
,
{
wrapper
=
shallowMount
(
TerminalSyncStatusSafe
,
{
localVue
,
localVue
,
sync
:
false
,
sync
:
false
,
store
,
store
,
...
...
ee/spec/frontend/ide/components/terminal_sync/terminal_sync_status_spec.js
View file @
a1104148
...
@@ -35,7 +35,7 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status', () => {
...
@@ -35,7 +35,7 @@ describe('ee/ide/components/terminal_sync/terminal_sync_status', () => {
},
},
});
});
wrapper
=
shallowMount
(
localVue
.
extend
(
TerminalSyncStatus
)
,
{
wrapper
=
shallowMount
(
TerminalSyncStatus
,
{
attachToDocument
:
true
,
attachToDocument
:
true
,
localVue
,
localVue
,
sync
:
false
,
sync
:
false
,
...
...
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