app-next: fix test

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-08-21 17:49:11 +02:00
parent 0cb0ac517b
commit f46953c850
+1 -1
View File
@@ -16,7 +16,6 @@
import React from 'react';
import { renderWithEffects } from '@backstage/test-utils';
import App from './App';
describe('App', () => {
it('should render', async () => {
@@ -42,6 +41,7 @@ describe('App', () => {
] as any,
};
const { default: App } = await import('./App');
const rendered = await renderWithEffects(<App />);
expect(rendered.baseElement).toBeInTheDocument();
});