Fix test checks

Signed-off-by: Adam Harvey <adam.harvey@dxc.com>
This commit is contained in:
Adam Harvey
2021-02-22 22:51:13 -05:00
parent 994afea78b
commit f9fbca34d2
2 changed files with 2 additions and 2 deletions
@@ -74,7 +74,7 @@ describe('<HasApisCard />', () => {
);
expect(getByText('APIs')).toBeInTheDocument();
expect(getByText(/No API is part of this system/i)).toBeInTheDocument();
expect(getByText(/does not contain any APIs/i)).toBeInTheDocument();
});
it('shows related APIs', async () => {
@@ -74,7 +74,7 @@ describe('<ProvidedApisCard />', () => {
);
expect(getByText(/Provided APIs/i)).toBeInTheDocument();
expect(getByText(/No component provides this API/i)).toBeInTheDocument();
expect(getByText(/does not provide it's own APIs/i)).toBeInTheDocument();
});
it('shows consumed APIs', async () => {