Skip to content

Commit

Permalink
fix: 브라우저 환경과 Provider 구조가 다른 문제 해결 #272
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgksqkr committed Sep 23, 2024
1 parent 9ba4988 commit 9688a5e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions frontend/src/utils/test-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ const wrapper = ({
<QueryClientProvider client={queryClient}>
<RecoilRoot initializeState={initializeState}>
<ThemeProvider theme={Theme}>
<MemoryRouter initialEntries={['/']}>
<RootErrorBoundary>
<AsyncErrorBoundary pendingFallback={pendingFallback}>
<Global styles={GlobalStyle} />
<ToastProvider>
<Global styles={GlobalStyle} />
<ToastProvider>
<MemoryRouter initialEntries={['/']}>
<RootErrorBoundary>
<AsyncErrorBoundary pendingFallback={pendingFallback}>
<ModalProvider>{children}</ModalProvider>
</ToastProvider>
</AsyncErrorBoundary>
</RootErrorBoundary>
</MemoryRouter>
</AsyncErrorBoundary>
</RootErrorBoundary>
</MemoryRouter>
</ToastProvider>
</ThemeProvider>
</RecoilRoot>
</QueryClientProvider>
Expand Down

0 comments on commit 9688a5e

Please sign in to comment.