We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
innerMapStateToProps
Provider.spec.tsx
1 parent eaa8271 commit a1fc886Copy full SHA for a1fc886
test/components/Provider.spec.tsx
@@ -165,7 +165,7 @@ describe('React', () => {
165
action.type === 'INC' ? state + 1 : state
166
167
const innerStore = createStore(reducer)
168
- const innerMapStateToProps = vi.fn<[number], TStateProps>((state) => ({
+ const innerMapStateToProps = vi.fn((state: number) => ({
169
count: state,
170
}))
171
class Inner extends Component<TStateProps> {
0 commit comments