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
ddbe90ac
Commit
ddbe90ac
authored
Apr 01, 2022
by
Paul Slaughter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Combine expect props in geo_node_..._details_spec
parent
f2dd8faa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ee/spec/frontend/geo_nodes/components/details/secondary_node/geo_node_replication_details_spec.js
...tails/secondary_node/geo_node_replication_details_spec.js
+8
-8
No files found.
ee/spec/frontend/geo_nodes/components/details/secondary_node/geo_node_replication_details_spec.js
View file @
ddbe90ac
...
...
@@ -191,17 +191,17 @@ describe('GeoNodeReplicationDetails', () => {
});
it
(
'
passes the correct props to the mobile replication details
'
,
()
=>
{
expect
(
findGeoMobileReplicationDetails
().
props
(
'
replicationItems
'
)).
toStrictEqual
(
expectedProps
,
);
expect
(
findGeoMobileReplicationDetails
().
props
(
'
nodeId
'
)).
toBe
(
MOCK_NODES
[
1
].
id
);
expect
(
findGeoMobileReplicationDetails
().
props
(
)).
toStrictEqual
({
replicationItems
:
expectedProps
,
nodeId
:
MOCK_NODES
[
1
].
id
,
}
);
});
it
(
'
passes the correct props to the desktop replication details
'
,
()
=>
{
expect
(
findGeoDesktopReplicationDetails
().
props
(
'
replicationItems
'
)).
toStrictEqual
(
expectedProps
,
);
expect
(
findGeoDesktopReplicationDetails
().
props
(
'
nodeId
'
)).
toBe
(
MOCK_NODES
[
1
].
id
);
expect
(
findGeoDesktopReplicationDetails
().
props
(
)).
toStrictEqual
({
replicationItems
:
expectedProps
,
nodeId
:
MOCK_NODES
[
1
].
id
,
}
);
});
it
(
`does
${
hasNAVerificationHelpText
?
''
:
'
not
'
}
show N/A verification help text`
,
()
=>
{
...
...
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