Skip to content

Commit

Permalink
Added overriding app.test.tsx for default top navigation template. Th…
Browse files Browse the repository at this point in the history
…is test file properly passes tests now (#1289)
  • Loading branch information
ivanvpetrov authored Jul 31, 2024
1 parent fc07777 commit 81e2f75
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { expect, test } from 'vitest';
import { render } from '@testing-library/react';
import { MemoryRouter } from 'react-router-dom';
import App from './app';
import 'element-internals-polyfill';

test('renders without crashing', () => {
const wrapper = render(
<MemoryRouter>
<App />
</MemoryRouter>);

expect(wrapper).toBeTruthy();
});

0 comments on commit 81e2f75

Please sign in to comment.