Skip to content

Commit

Permalink
[Fix]: use state rather than props
Browse files Browse the repository at this point in the history
  • Loading branch information
chenesan committed Feb 7, 2019
1 parent a61b2a9 commit 926b306
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/enzyme-test-suite/test/ReactWrapper-spec.jsx
Expand Up @@ -5631,7 +5631,7 @@ describeWithDOM('mount', () => {

render() {
return (
<input value={this.props.value} />
<input value={this.state.value} />
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/enzyme-test-suite/test/ShallowWrapper-spec.jsx
Expand Up @@ -5955,7 +5955,7 @@ describe('shallow', () => {

render() {
return (
<input value={this.props.value} />
<input value={this.state.value} />
);
}
}
Expand Down

0 comments on commit 926b306

Please sign in to comment.