From f46953c850ea7a5b3e060409a2d8958c51a68131 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 21 Aug 2023 17:49:11 +0200 Subject: [PATCH] app-next: fix test Signed-off-by: Patrik Oldsberg --- packages/app-next/src/App.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-next/src/App.test.tsx b/packages/app-next/src/App.test.tsx index 8c7cefeb2c..047c9821b5 100644 --- a/packages/app-next/src/App.test.tsx +++ b/packages/app-next/src/App.test.tsx @@ -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(); expect(rendered.baseElement).toBeInTheDocument(); });