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', () => {
32
32
const useCustomDispatch = createDispatchHook ( nestedContext )
33
33
const { result } = renderHook ( ( ) => useDispatch ( ) , {
34
34
// eslint-disable-next-line react/prop-types
35
- wrapper : ( { children, ...props } ) => (
35
+ wrapper : ( { children, ...props } : Omit < ProviderProps , 'store' > ) => (
36
36
< ProviderMock { ...props } store = { store } >
37
37
< ProviderMock context = { nestedContext } store = { store2 } >
38
38
{ children }
@@ -45,7 +45,7 @@ describe('React', () => {
45
45
46
46
const { result : result2 } = renderHook ( ( ) => useCustomDispatch ( ) , {
47
47
// eslint-disable-next-line react/prop-types
48
- wrapper : ( { children, ...props } ) => (
48
+ wrapper : ( { children, ...props } : Omit < ProviderProps , 'store' > ) => (
49
49
< ProviderMock { ...props } store = { store } >
50
50
< ProviderMock context = { nestedContext } store = { store2 } >
51
51
{ children }
You can’t perform that action at this time.
0 commit comments