Skip to content

Commit

Permalink
Fix type of innerMapStateToProps in Provider.spec.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 authored and markerikson committed Dec 10, 2024
1 parent eaa8271 commit a1fc886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/components/Provider.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ describe('React', () => {
action.type === 'INC' ? state + 1 : state

const innerStore = createStore(reducer)
const innerMapStateToProps = vi.fn<[number], TStateProps>((state) => ({
const innerMapStateToProps = vi.fn((state: number) => ({
count: state,
}))
class Inner extends Component<TStateProps> {
Expand Down

0 comments on commit a1fc886

Please sign in to comment.