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
f07cbee3
Commit
f07cbee3
authored
Feb 11, 2022
by
Rajat Jain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pipelines jest tests
parent
11e18855
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
app/assets/javascripts/vue_shared/issuable/show/components/issuable_header.vue
...s/vue_shared/issuable/show/components/issuable_header.vue
+1
-1
ee/spec/frontend/analytics/code_review_analytics/components/__snapshots__/merge_request_table_spec.js.snap
...components/__snapshots__/merge_request_table_spec.js.snap
+1
-1
ee/spec/frontend/analytics/devops_reports/devops_adoption/mock_data.js
...end/analytics/devops_reports/devops_adoption/mock_data.js
+2
-2
ee/spec/frontend/analytics/group_analytics/components/group_activity_card_spec.js
...cs/group_analytics/components/group_activity_card_spec.js
+2
-2
ee/spec/frontend/issues_analytics/mock_data.js
ee/spec/frontend/issues_analytics/mock_data.js
+1
-1
ee/spec/frontend/related_items_tree/components/tree_item_body_spec.js
...tend/related_items_tree/components/tree_item_body_spec.js
+2
-2
No files found.
app/assets/javascripts/vue_shared/issuable/show/components/issuable_header.vue
View file @
f07cbee3
...
...
@@ -102,7 +102,7 @@ export default {
</div>
</div>
<span>
{{
__
(
'
Open
ed
'
)
}}
{{
__
(
'
Creat
ed
'
)
}}
<time-ago-tooltip
data-testid=
"startTimeItem"
:time=
"createdAt"
/>
{{
__
(
'
by
'
)
}}
</span>
...
...
ee/spec/frontend/analytics/code_review_analytics/components/__snapshots__/merge_request_table_spec.js.snap
View file @
f07cbee3
...
...
@@ -131,7 +131,7 @@ exports[`MergeRequestTable component template matches the snapshot 1`] = `
</li>
<li>
open
ed 5 months ago
creat
ed 5 months ago
</li>
<li>
...
...
ee/spec/frontend/analytics/devops_reports/devops_adoption/mock_data.js
View file @
f07cbee3
...
...
@@ -43,12 +43,12 @@ export const devopsAdoptionTableHeaders = [
{
index
:
3
,
label
:
'
Issues
'
,
tooltip
:
'
At least one issue
open
ed
'
,
tooltip
:
'
At least one issue
creat
ed
'
,
},
{
index
:
4
,
label
:
'
MRs
'
,
tooltip
:
'
At least one merge request
open
ed
'
,
tooltip
:
'
At least one merge request
creat
ed
'
,
},
{
index
:
5
,
...
...
ee/spec/frontend/analytics/group_analytics/components/group_activity_card_spec.js
View file @
f07cbee3
...
...
@@ -83,8 +83,8 @@ describe('GroupActivity component', () => {
it
.
each
`
index | value | title
${
0
}
|
${
10
}
|
${
'
Merge Requests
open
ed
'
}
${
1
}
|
${
20
}
|
${
'
Issues
open
ed
'
}
${
0
}
|
${
10
}
|
${
'
Merge Requests
creat
ed
'
}
${
1
}
|
${
20
}
|
${
'
Issues
creat
ed
'
}
${
2
}
|
${
30
}
|
${
'
Members added
'
}
`
(
'
renders a GlSingleStat for "$title"
'
,
async
({
index
,
value
,
title
})
=>
{
const
singleStat
=
findAllSingleStats
().
at
(
index
);
...
...
ee/spec/frontend/issues_analytics/mock_data.js
View file @
f07cbee3
...
...
@@ -34,7 +34,7 @@ export const tableHeaders = [
'
Weight
'
,
'
Due date
'
,
'
Assignees
'
,
'
Open
ed by
'
,
'
Creat
ed by
'
,
];
export
const
endpoints
=
{
...
...
ee/spec/frontend/related_items_tree/components/tree_item_body_spec.js
View file @
f07cbee3
...
...
@@ -214,13 +214,13 @@ describe('RelatedItemsTree', () => {
});
describe
(
'
stateText
'
,
()
=>
{
it
(
'
returns string `
Opened` when `item.state` value is `open
ed`
'
,
async
()
=>
{
it
(
'
returns string `
Created` when `item.state` value is `creat
ed`
'
,
async
()
=>
{
wrapper
.
setProps
({
item
:
{
...
mockItem
,
state
:
ChildState
.
Open
},
});
await
nextTick
();
expect
(
findIssueIcon
().
props
(
'
ariaLabel
'
)).
toBe
(
'
Open
ed
'
);
expect
(
findIssueIcon
().
props
(
'
ariaLabel
'
)).
toBe
(
'
Creat
ed
'
);
});
it
(
'
returns string `Closed` when `item.state` value is `closed`
'
,
async
()
=>
{
...
...
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