Fix tests

This commit is contained in:
Adam Harvey
2021-02-03 00:02:50 -05:00
parent 81a039cc9f
commit c0ddb32563
2 changed files with 2 additions and 2 deletions
@@ -162,7 +162,7 @@ describe('AuditList', () => {
</ApiProvider>,
),
);
const element = await rendered.findByTestId('error-message');
const element = await rendered.findByText(/Could not load audit list./);
expect(element).toBeInTheDocument();
});
});