We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0767acd commit 704fe9dCopy full SHA for 704fe9d
packages/datagateway-download/src/downloadApiHooks.test.tsx
@@ -62,13 +62,13 @@ const createTestQueryClient = (): QueryClient =>
62
const createReactQueryWrapper = (
63
settings = mockedSettings
64
): React.JSXElementConstructor<{
65
- children: React.ReactElement;
+ children: React.ReactNode;
66
}> => {
67
const testQueryClient = createTestQueryClient();
68
const history = createMemoryHistory();
69
70
const wrapper: React.JSXElementConstructor<{
71
72
}> = ({ children }) => (
73
<DownloadSettingsContext.Provider value={settings}>
74
<Router history={history}>
0 commit comments