mirror of
https://git.um-react.app/um/um-react.git
synced 2026-12-04 01:53:59 +00:00
refactor: use tab instead of modal. fixed layout as well.
This commit is contained in:
1 parent
4620a17e0d
commit
b64c2a5fba
9 files changed
+98
-129
No files matched your search
@@ -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'));
|
||||
|
||||
Reference in new issue
Block a user