core-app-api: clean up log output in tests

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-09-11 14:25:00 +02:00
parent f1e42b71e1
commit 1d2e28c26f
2 changed files with 2 additions and 3 deletions
@@ -251,7 +251,6 @@ describe.each(['beta', 'stable'])('react-router %s', rrVersion => {
await new Promise(r => setTimeout(r, 500));
rendered.debug();
await expect(
rendered.findByText('Path at inside: /foo/bar'),
).resolves.toBeInTheDocument();
@@ -344,7 +343,6 @@ describe.each(['beta', 'stable'])('react-router %s', rrVersion => {
await expect(
rendered.findByText('Path at inside: /foo/blob/baz'),
).resolves.toBeInTheDocument();
rendered.debug();
});
it('should throw errors for routing to other routeRefs with unsupported parameters', () => {
@@ -352,6 +350,7 @@ describe.each(['beta', 'stable'])('react-router %s', rrVersion => {
const root = (
<MemoryRouter initialEntries={['/']}>
<Routes>
<Route path="/" element={<div />} />
<Route path="foo:id" element={<ExtensionPage3 />}>
<Route
path="bar"
@@ -294,13 +294,13 @@ describe('discovery', () => {
await expect(
rendered.findByText('Path at inside: /foo/blob/baz'),
).resolves.toBeInTheDocument();
rendered.debug();
});
it('should throw errors for routing to other routeRefs with unsupported parameters', () => {
const root = (
<MemoryRouter initialEntries={['/']}>
<Routes>
<Route path="/" element={<div />} />
<Route path="foo:id" element={<ExtensionPage3 />}>
<Route
path="bar"