File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ describe('React', () => {
3232 const useCustomDispatch = createDispatchHook ( nestedContext )
3333 const { result } = renderHook ( ( ) => useDispatch ( ) , {
3434 // eslint-disable-next-line react/prop-types
35- wrapper : ( { children, ...props } ) => (
35+ wrapper : ( { children, ...props } : Omit < ProviderProps , 'store' > ) => (
3636 < ProviderMock { ...props } store = { store } >
3737 < ProviderMock context = { nestedContext } store = { store2 } >
3838 { children }
@@ -45,7 +45,7 @@ describe('React', () => {
4545
4646 const { result : result2 } = renderHook ( ( ) => useCustomDispatch ( ) , {
4747 // eslint-disable-next-line react/prop-types
48- wrapper : ( { children, ...props } ) => (
48+ wrapper : ( { children, ...props } : Omit < ProviderProps , 'store' > ) => (
4949 < ProviderMock { ...props } store = { store } >
5050 < ProviderMock context = { nestedContext } store = { store2 } >
5151 { children }
You can’t perform that action at this time.
0 commit comments