Skip to content

Commit

Permalink
Provide default options.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdilauro committed Jul 16, 2024
1 parent bb684a1 commit ad0e9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jest/testUtils/withProviders.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const componentWithProviders = ({
featureFlags: defaultFeatureFlags,
},
queryClient = new QueryClient(),
}: TestProviderWrapperOptions): React.FunctionComponent => {
}: TestProviderWrapperOptions = {}): React.FunctionComponent => {
const effectiveContextProviderProps = {
...defaultContextProviderProps,
...contextProviderProps,
Expand Down

0 comments on commit ad0e9c8

Please sign in to comment.