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
7a4b8584
Commit
7a4b8584
authored
Jan 26, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mock data for related issues app
parent
e3f80190
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
+55
-0
spec/javascripts/issuable/related_issues/mock_data.js
spec/javascripts/issuable/related_issues/mock_data.js
+55
-0
No files found.
spec/javascripts/issuable/related_issues/mock_data.js
0 → 100644
View file @
7a4b8584
export
const
defaultProps
=
{
endpoint
:
'
/foo/bar/issues/1/related_issues
'
,
currentNamespacePath
:
'
foo
'
,
currentProjectPath
:
'
bar
'
,
};
export
const
issuable1
=
{
id
:
200
,
epic_issue_id
:
1
,
reference
:
'
foo/bar#123
'
,
displayReference
:
'
#123
'
,
title
:
'
some title
'
,
path
:
'
/foo/bar/issues/123
'
,
state
:
'
opened
'
,
};
export
const
issuable2
=
{
id
:
201
,
epic_issue_id
:
2
,
reference
:
'
foo/bar#124
'
,
displayReference
:
'
#124
'
,
title
:
'
some other thing
'
,
path
:
'
/foo/bar/issues/124
'
,
state
:
'
opened
'
,
};
export
const
issuable3
=
{
id
:
202
,
epic_issue_id
:
3
,
reference
:
'
foo/bar#125
'
,
displayReference
:
'
#125
'
,
title
:
'
some other other thing
'
,
path
:
'
/foo/bar/issues/125
'
,
state
:
'
opened
'
,
};
export
const
issuable4
=
{
id
:
203
,
epic_issue_id
:
4
,
reference
:
'
foo/bar#126
'
,
displayReference
:
'
#126
'
,
title
:
'
some other other other thing
'
,
path
:
'
/foo/bar/issues/126
'
,
state
:
'
opened
'
,
};
export
const
issuable5
=
{
id
:
204
,
epic_issue_id
:
5
,
reference
:
'
foo/bar#127
'
,
displayReference
:
'
#127
'
,
title
:
'
some other other other thing
'
,
path
:
'
/foo/bar/issues/127
'
,
state
:
'
opened
'
,
};
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