From ad0e9c8f0e161371b432b512134a3c882dc78f31 Mon Sep 17 00:00:00 2001 From: Tim DiLauro Date: Tue, 16 Jul 2024 10:28:57 -0400 Subject: [PATCH] Provide default options. --- tests/jest/testUtils/withProviders.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/jest/testUtils/withProviders.tsx b/tests/jest/testUtils/withProviders.tsx index 97e291671..a3183431e 100644 --- a/tests/jest/testUtils/withProviders.tsx +++ b/tests/jest/testUtils/withProviders.tsx @@ -47,7 +47,7 @@ export const componentWithProviders = ({ featureFlags: defaultFeatureFlags, }, queryClient = new QueryClient(), -}: TestProviderWrapperOptions): React.FunctionComponent => { +}: TestProviderWrapperOptions = {}): React.FunctionComponent => { const effectiveContextProviderProps = { ...defaultContextProviderProps, ...contextProviderProps,