Skip to content

Commit

Permalink
fix: lint and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Apoorva64 committed Sep 24, 2024
1 parent 5186d1e commit 0bb05fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/frontend-bff/src/app/app.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ import 'reflect-metadata';
import { BrowserRouter } from 'react-router-dom';

import App from './app';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';

describe('App', () => {
it('should render successfully', () => {
const { baseElement } = render(
<BrowserRouter>
<App />
<QueryClientProvider client={new QueryClient()}>
<App />
</QueryClientProvider>
</BrowserRouter>
);
expect(baseElement).toBeTruthy();
});

});

0 comments on commit 0bb05fe

Please sign in to comment.