refactor: use tab instead of modal. fixed layout as well.

This commit is contained in:
鲁树人 committed 2023-06-04 23:56:15 +01:00
1 parent 4620a17e0d
commit b64c2a5fba
9 files changed
+98 -129

No files matched your search

+2 -2
View File
@@ -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(<App />);
renderWithProviders(<AppRoot />);
// Should eventually load sdk version
await waitFor(() => screen.getByTestId('sdk-version'));