Skip to content

Commit a1fc886

Browse files
aryaemami59markerikson
authored andcommitted
Fix type of innerMapStateToProps in Provider.spec.tsx
1 parent eaa8271 commit a1fc886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/components/Provider.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ describe('React', () => {
165165
action.type === 'INC' ? state + 1 : state
166166

167167
const innerStore = createStore(reducer)
168-
const innerMapStateToProps = vi.fn<[number], TStateProps>((state) => ({
168+
const innerMapStateToProps = vi.fn((state: number) => ({
169169
count: state,
170170
}))
171171
class Inner extends Component<TStateProps> {

0 commit comments

Comments
 (0)