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
6695c072
Commit
6695c072
authored
Jul 29, 2020
by
Eulyeon Ko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reflect the changed name
parent
3fd59784
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app/assets/javascripts/sidebar/mount_sidebar.js
app/assets/javascripts/sidebar/mount_sidebar.js
+2
-2
spec/frontend/sidebar/lock/issuable_lock_form_spec.js
spec/frontend/sidebar/lock/issuable_lock_form_spec.js
+3
-3
No files found.
app/assets/javascripts/sidebar/mount_sidebar.js
View file @
6695c072
...
...
@@ -5,7 +5,7 @@ import SidebarTimeTracking from './components/time_tracking/sidebar_time_trackin
import
SidebarAssignees
from
'
./components/assignees/sidebar_assignees.vue
'
;
import
ConfidentialIssueSidebar
from
'
./components/confidential/confidential_issue_sidebar.vue
'
;
import
SidebarMoveIssue
from
'
./lib/sidebar_move_issue
'
;
import
LockIssueSidebar
from
'
./components/lock/lock_issue_sidebar
.vue
'
;
import
IssuableLockForm
from
'
./components/lock/issuable_lock_form
.vue
'
;
import
sidebarParticipants
from
'
./components/participants/sidebar_participants.vue
'
;
import
sidebarSubscriptions
from
'
./components/subscriptions/sidebar_subscriptions.vue
'
;
import
Translate
from
'
../vue_shared/translate
'
;
...
...
@@ -95,7 +95,7 @@ function mountLockComponent() {
fullPath
,
},
render
:
createElement
=>
createElement
(
LockIssueSidebar
,
{
createElement
(
IssuableLockForm
,
{
props
:
{
isEditable
:
initialData
.
is_editable
,
},
...
...
spec/frontend/sidebar/lock/issuable_lock_form_spec.js
View file @
6695c072
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
mockTracking
,
triggerEvent
}
from
'
helpers/tracking_helper
'
;
import
LockIssueSidebar
from
'
~/sidebar/components/lock/lock_issue_sidebar
.vue
'
;
import
IssuableLockForm
from
'
~/sidebar/components/lock/issuable_lock_form
.vue
'
;
import
EditForm
from
'
~/sidebar/components/lock/edit_form.vue
'
;
import
createStore
from
'
~/notes/stores
'
;
import
{
createStore
as
createMrStore
}
from
'
~/mr_notes/stores
'
;
import
{
ISSUABLE_TYPE_ISSUE
,
ISSUABLE_TYPE_MR
}
from
'
./constants
'
;
describe
(
'
LockIssueSidebar
'
,
()
=>
{
describe
(
'
IssuableLockForm
'
,
()
=>
{
let
wrapper
;
let
store
;
let
mediator
;
...
...
@@ -41,7 +41,7 @@ describe('LockIssueSidebar', () => {
};
const
createComponent
=
({
props
=
{}
})
=>
{
wrapper
=
shallowMount
(
LockIssueSidebar
,
{
wrapper
=
shallowMount
(
IssuableLockForm
,
{
store
,
propsData
:
{
isEditable
:
true
,
...
...
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