fixed failing test

This commit is contained in:
akus062381 2021-04-27 16:53:35 -04:00
parent b2497a84ad
commit efd9e22adc

View File

@ -92,11 +92,11 @@ describe('<InventoryDetail />', () => {
expectDetailToMatch(wrapper, 'Type', 'Inventory');
const org = wrapper.find('Detail[label="Organization"]');
expect(org.prop('value')).toMatchInlineSnapshot(`
<ForwardRef
<Link
to="/organizations/1/details"
>
The Organization
</ForwardRef>
</Link>
`);
const vars = wrapper.find('VariablesDetail');
expect(vars).toHaveLength(1);