Skip to content

Commit

Permalink
[Tests] use state rather than props
Browse files Browse the repository at this point in the history
  • Loading branch information
chenesan authored and ljharb committed Feb 7, 2019
1 parent c5425db commit 8e7c84a
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 8e7c84a

Please sign in to comment.