Skip to content

Commit

Permalink
Fixing CI CD pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
hkam0006 committed Oct 9, 2024
1 parent 0ae1034 commit 3c2ff93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/App.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { render, screen } from '@testing-library/react';
import App from './App';

jest.mock('@mui/x-charts/BarChart', () => ({
BarChart: () => null, // Return a simple functional component that renders nothing
}));

test('renders app without crashing', () => {
render(<App />)
});

0 comments on commit 3c2ff93

Please sign in to comment.