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
c714edf4
Commit
c714edf4
authored
Dec 11, 2020
by
Illya Klymov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address reviewer comments
parent
4955e03e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec/frontend/import_entities/import_groups/graphql/services/status_poller_spec.js
...ties/import_groups/graphql/services/status_poller_spec.js
+1
-1
No files found.
spec/frontend/import_entities/import_groups/graphql/services/status_poller_spec.js
View file @
c714edf4
...
...
@@ -156,7 +156,7 @@ describe('Bulk import status poller', () => {
const
[[
doc
]]
=
clientMock
.
query
.
mock
.
calls
;
const
{
selections
}
=
doc
.
query
.
definitions
[
0
].
selectionSet
;
expect
(
selections
.
every
(
field
=>
field
.
name
.
value
===
'
group
'
)).
toBeTruthy
();
expect
(
selections
.
length
).
toBe
(
2
);
expect
(
selections
).
toHaveLength
(
2
);
expect
(
selections
.
map
(
sel
=>
sel
.
arguments
[
0
].
value
.
value
)).
toStrictEqual
([
`
${
TARGET_NAMESPACE
}
/
${
STARTED_GROUP_1
.
import_target
.
new_name
}
`
,
`
${
TARGET_NAMESPACE
}
/
${
STARTED_GROUP_2
.
import_target
.
new_name
}
`
,
...
...
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