diff --git a/src/__tests__/sanity-check.test.tsx b/src/__tests__/sanity-check.test.tsx index e6f25a0..bebac59 100644 --- a/src/__tests__/sanity-check.test.tsx +++ b/src/__tests__/sanity-check.test.tsx @@ -1,5 +1,5 @@ import { renderWithProviders, screen, waitFor } from '~/test-utils/test-helper'; -import App from '~/components/App'; +import { AppRoot } from '~/components/AppRoot'; vi.mock('../decrypt-worker/client', () => { return { @@ -10,7 +10,7 @@ vi.mock('../decrypt-worker/client', () => { }); test('should be able to render App', async () => { - renderWithProviders(); + renderWithProviders(); // Should eventually load sdk version await waitFor(() => screen.getByTestId('sdk-version')); diff --git a/src/components/App.tsx b/src/components/App.tsx deleted file mode 100644 index 6505f44..0000000 --- a/src/components/App.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import { Box, Center, Container } from '@chakra-ui/react'; -import { SelectFile } from './SelectFile'; - -import { FileListing } from '~/features/file-listing/FileListing'; -import { Footer } from './Footer'; -import { Toolbar } from './Toolbar'; - -function App() { - return ( - - -
- -
- - -