Skip to content

Commit adf01fd

Browse files
committed
removed printout
1 parent fa75408 commit adf01fd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/ReactFinalForm.test.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ describe('ReactFinalForm', () => {
539539

540540
it('should not repeatedly call validation for every field on mount', () => {
541541
const validate = jest.fn(values => ({}))
542-
const count = 1000
542+
const count = 10
543543

544544
class Container extends React.Component {
545545
constructor() {
@@ -554,12 +554,6 @@ describe('ReactFinalForm', () => {
554554
this.setState({ ids, time: Date.now() })
555555
}
556556

557-
componentDidUpdate() {
558-
if (this.state.time) {
559-
console.info('Took', Date.now() - this.state.time)
560-
}
561-
}
562-
563557
render() {
564558
return this.props.children(this.state.ids)
565559
}

0 commit comments

Comments
 (0)