fixes test

Signed-off-by: Brian Fletcher <brian@roadie.io>
This commit is contained in:
Brian Fletcher
2022-12-22 21:42:41 +00:00
parent 3d679f83c1
commit a06b01ee38
@@ -78,7 +78,7 @@ describe('<EntityPeekAheadPopover/>', () => {
expect(screen.queryByText('service2')).toBeNull();
fireEvent.mouseOver(screen.getByTestId('popover2'));
expect(
await screen.findByText(/service2 was not found/),
await screen.findByText('Error: service2 was not found'),
).toBeInTheDocument();
});
});