Commit ddbe90ac authored by Paul Slaughter's avatar Paul Slaughter

Combine expect props in geo_node_..._details_spec

parent f2dd8faa
...@@ -191,17 +191,17 @@ describe('GeoNodeReplicationDetails', () => { ...@@ -191,17 +191,17 @@ describe('GeoNodeReplicationDetails', () => {
}); });
it('passes the correct props to the mobile replication details', () => { it('passes the correct props to the mobile replication details', () => {
expect(findGeoMobileReplicationDetails().props('replicationItems')).toStrictEqual( expect(findGeoMobileReplicationDetails().props()).toStrictEqual({
expectedProps, replicationItems: expectedProps,
); nodeId: MOCK_NODES[1].id,
expect(findGeoMobileReplicationDetails().props('nodeId')).toBe(MOCK_NODES[1].id); });
}); });
it('passes the correct props to the desktop replication details', () => { it('passes the correct props to the desktop replication details', () => {
expect(findGeoDesktopReplicationDetails().props('replicationItems')).toStrictEqual( expect(findGeoDesktopReplicationDetails().props()).toStrictEqual({
expectedProps, replicationItems: expectedProps,
); nodeId: MOCK_NODES[1].id,
expect(findGeoDesktopReplicationDetails().props('nodeId')).toBe(MOCK_NODES[1].id); });
}); });
it(`does ${hasNAVerificationHelpText ? '' : 'not '}show N/A verification help text`, () => { it(`does ${hasNAVerificationHelpText ? '' : 'not '}show N/A verification help text`, () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment