From 4f54f062feb7db40a60636916bbc0a2b816bbb1f Mon Sep 17 00:00:00 2001 From: David Sykes Date: Thu, 30 Jul 2020 11:31:26 +0100 Subject: [PATCH] Updated test --- .../techdocs/src/reader/components/TechDocsNotFound.test.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/techdocs/src/reader/components/TechDocsNotFound.test.tsx b/plugins/techdocs/src/reader/components/TechDocsNotFound.test.tsx index 7792164b14..70504561ef 100644 --- a/plugins/techdocs/src/reader/components/TechDocsNotFound.test.tsx +++ b/plugins/techdocs/src/reader/components/TechDocsNotFound.test.tsx @@ -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()); - expect(queryByText(/error: documentation not found/i)).toBeInTheDocument(); + expect( + queryByText(/Error 404: Documentation not found/i), + ).toBeInTheDocument(); }); });