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
31c0b6b7
Commit
31c0b6b7
authored
Apr 29, 2021
by
jerasmus
Committed by
Jacques Erasmus
May 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update master to main
Uodated the default branch
parent
d4bc7dab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
spec/frontend/create_merge_request_dropdown_spec.js
spec/frontend/create_merge_request_dropdown_spec.js
+2
-2
spec/frontend/merge_conflicts/components/merge_conflict_resolver_app_spec.js
..._conflicts/components/merge_conflict_resolver_app_spec.js
+1
-1
spec/frontend/merge_conflicts/mock_data.js
spec/frontend/merge_conflicts/mock_data.js
+2
-2
No files found.
spec/frontend/create_merge_request_dropdown_spec.js
View file @
31c0b6b7
...
...
@@ -56,7 +56,7 @@ describe('CreateMergeRequestDropdown', () => {
describe
(
'
updateCreatePaths
'
,
()
=>
{
it
(
'
escapes branch names correctly
'
,
()
=>
{
dropdown
.
createBranchPath
=
`
${
TEST_HOST
}
/branches?branch_name=some-branch&issue=42`
;
dropdown
.
createMrPath
=
`
${
TEST_HOST
}
/create_merge_request?branch_name=some-branch&ref=ma
ster
`
;
dropdown
.
createMrPath
=
`
${
TEST_HOST
}
/create_merge_request?branch_name=some-branch&ref=ma
in
`
;
dropdown
.
updateCreatePaths
(
'
branch
'
,
'
contains#hash
'
);
...
...
@@ -65,7 +65,7 @@ describe('CreateMergeRequestDropdown', () => {
);
expect
(
dropdown
.
createMrPath
).
toBe
(
`
${
TEST_HOST
}
/create_merge_request?branch_name=contains%23hash&ref=ma
ster
`
,
`
${
TEST_HOST
}
/create_merge_request?branch_name=contains%23hash&ref=ma
in
`
,
);
});
});
...
...
spec/frontend/merge_conflicts/components/merge_conflict_resolver_app_spec.js
View file @
31c0b6b7
...
...
@@ -57,7 +57,7 @@ describe('Merge Conflict Resolver App', () => {
const
title
=
findConflictsCount
();
expect
(
title
.
exists
()).
toBe
(
true
);
expect
(
title
.
text
().
trim
()).
toBe
(
'
Showing 3 conflicts between test-conflicts and ma
ster
'
);
expect
(
title
.
text
().
trim
()).
toBe
(
'
Showing 3 conflicts between test-conflicts and ma
in
'
);
});
describe
(
'
files
'
,
()
=>
{
...
...
spec/frontend/merge_conflicts/mock_data.js
View file @
31c0b6b7
export
const
conflictsMock
=
{
target_branch
:
'
ma
ster
'
,
target_branch
:
'
ma
in
'
,
source_branch
:
'
test-conflicts
'
,
commit_sha
:
'
6dbf385a3c7bf01e09b5d2d9e5d72f8fb8c590a3
'
,
commit_message
:
"
Merge branch 'ma
ster
' into 'test-conflicts'
\n\n
# Conflicts:
\n
# .gitlab-ci.yml
\n
# README.md
"
,
"
Merge branch 'ma
in
' into 'test-conflicts'
\n\n
# Conflicts:
\n
# .gitlab-ci.yml
\n
# README.md
"
,
files
:
[
{
old_path
:
'
.gitlab-ci.yml
'
,
...
...
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