From 34bddbd6eaeae695abb8fe422abd65b8988e1d71 Mon Sep 17 00:00:00 2001 From: Jackie Quach Date: Fri, 6 Sep 2024 13:31:04 -0400 Subject: [PATCH] update name to Providers --- src/__tests__/testUtils/render.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/__tests__/testUtils/render.tsx b/src/__tests__/testUtils/render.tsx index 4e90ae0e..6c94fdd3 100644 --- a/src/__tests__/testUtils/render.tsx +++ b/src/__tests__/testUtils/render.tsx @@ -4,7 +4,7 @@ import { ReactElement } from "react"; import { FeatureFlagProvider } from "~/src/context/FeatureFlagContext"; import { FeedbackProvider } from "~/src/context/FeedbackContext"; -const AllTheProviders = ({ children }) => { +const Providers = ({ children }) => { return ( {children} @@ -16,7 +16,7 @@ const customRender = ( ui: ReactElement, options?: Omit ) => { - render(ui, { wrapper: AllTheProviders, ...options }); + render(ui, { wrapper: Providers, ...options }); }; export * from "@testing-library/react";