Skip to content

Commit 704fe9d

Browse files
committed
Fix linting issue caused by testing library upgrade
1 parent 0767acd commit 704fe9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/datagateway-download/src/downloadApiHooks.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ const createTestQueryClient = (): QueryClient =>
6262
const createReactQueryWrapper = (
6363
settings = mockedSettings
6464
): React.JSXElementConstructor<{
65-
children: React.ReactElement;
65+
children: React.ReactNode;
6666
}> => {
6767
const testQueryClient = createTestQueryClient();
6868
const history = createMemoryHistory();
6969

7070
const wrapper: React.JSXElementConstructor<{
71-
children: React.ReactElement;
71+
children: React.ReactNode;
7272
}> = ({ children }) => (
7373
<DownloadSettingsContext.Provider value={settings}>
7474
<Router history={history}>

0 commit comments

Comments
 (0)