Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwalsh0 committed Jun 19, 2024
1 parent dc7c25a commit 7159a89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const mockStore = {
const render = () => {
const store = configureStore(mockStore);
return renderWithProvider(
// eslint-disable-next-line no-empty-function
<HeaderInfo showAdvancedDetails setShowAdvancedDetails={() => {}} />,
store,
);
Expand Down Expand Up @@ -61,7 +62,11 @@ describe('Header', () => {
const mockTrackEvent = jest.fn();
const { getByLabelText } = renderWithProvider(
<MetaMetricsContext.Provider value={mockTrackEvent}>
<HeaderInfo />
<HeaderInfo
showAdvancedDetails={false}
// eslint-disable-next-line no-empty-function
setShowAdvancedDetails={() => {}}
/>
</MetaMetricsContext.Provider>,
configureStore(mockStore),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const render = (storeOverrides = {}) => {
});

return renderWithProvider(
// eslint-disable-next-line no-empty-function
<Header showAdvancedDetails setShowAdvancedDetails={() => {}} />,
store,
);
Expand Down

0 comments on commit 7159a89

Please sign in to comment.