Updated test

This commit is contained in:
David Sykes
2020-07-30 11:31:26 +01:00
parent ea57820c62
commit 4f54f062fe
@@ -21,6 +21,8 @@ import { wrapInTestApp } from '@backstage/test-utils';
describe('TechDocs Not Found', () => {
it('should render a Documentation not found page', async () => {
const { queryByText } = render(wrapInTestApp(<TechDocsNotFound />));
expect(queryByText(/error: documentation not found/i)).toBeInTheDocument();
expect(
queryByText(/Error 404: Documentation not found/i),
).toBeInTheDocument();
});
});