Skip to content

Commit

Permalink
update called twice
Browse files Browse the repository at this point in the history
  • Loading branch information
hassanbazzi committed Feb 28, 2018
1 parent 54f97f8 commit 97d782d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/browser/devtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe_('React Developer Tools integration', () => {
node._component.setState({count: 4});
node._component.forceUpdate();

expect(renderer.Reconciler.mountComponent).to.have.been.called.twice;
expect(renderer.Reconciler.mountComponent).to.have.been.calledTwice;
});

it('notifies dev tools when a component update modifies DOM children', () => {
Expand Down

0 comments on commit 97d782d

Please sign in to comment.