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
Show 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', () => {
const
createComponent
=
()
=>
{
store
=
createStore
();
wrapper
=
mount
(
localVue
.
extend
(
IdeStatusList
)
,
{
wrapper
=
mount
(
IdeStatusList
,
{
localVue
,
sync
:
false
,
store
,
...
...
ee/spec/frontend/ide/components/panes/right_spec.js
View file @
a1104148
...
...
@@ -20,7 +20,7 @@ describe('IDE EERightPane', () => {
},
});
wrapper
=
shallowMount
(
localVue
.
extend
(
EERightPane
)
,
{
localVue
,
store
});
wrapper
=
shallowMount
(
EERightPane
,
{
localVue
,
store
});
};
beforeEach
(()
=>
{
...
...
ee/spec/frontend/ide/components/terminal/session_spec.js
View file @
a1104148
...
...
@@ -25,7 +25,7 @@ describe('EE IDE TerminalSession', () => {
},
});
wrapper
=
shallowMount
(
localVue
.
extend
(
TerminalSession
)
,
{
wrapper
=
shallowMount
(
TerminalSession
,
{
localVue
,
store
,
...
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
ScrollButton
from
'
~/ide/components/jobs/detail/scroll_button.vue
'
;
const
localVue
=
createLocalVue
();
describe
(
'
EE IDE TerminalControls
'
,
()
=>
{
let
wrapper
;
let
buttons
;
const
factory
=
(
options
=
{})
=>
{
wrapper
=
shallowMount
(
localVue
.
extend
(
TerminalControls
),
{
localVue
,
wrapper
=
shallowMount
(
TerminalControls
,
{
...
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', () => {
state
:
{},
});
wrapper
=
shallowMount
(
localVue
.
extend
(
TerminalSyncStatusSafe
)
,
{
wrapper
=
shallowMount
(
TerminalSyncStatusSafe
,
{
localVue
,
sync
:
false
,
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', () => {
},
});
wrapper
=
shallowMount
(
localVue
.
extend
(
TerminalSyncStatus
)
,
{
wrapper
=
shallowMount
(
TerminalSyncStatus
,
{
attachToDocument
:
true
,
localVue
,
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