diff --git a/dashboards-reports/public/components/main/__tests__/main.test.tsx b/dashboards-reports/public/components/main/__tests__/main.test.tsx index 8445d31d..3142326e 100644 --- a/dashboards-reports/public/components/main/__tests__/main.test.tsx +++ b/dashboards-reports/public/components/main/__tests__/main.test.tsx @@ -17,7 +17,7 @@ function setBreadcrumbs(array: []) { describe('
panel', () => { configure({ adapter: new Adapter() }); - test('render component', async (done) => { + test('render component', (done) => { window = Object.create(window); Object.defineProperty(window, 'location', { configurable: true, @@ -27,7 +27,7 @@ describe('
panel', () => { }, }); - const { container } = await render( + const { container } = render(
);