Fix failing test

PR #3494 was based on master before we shifted to using console.error. This
just fixes the new test case.
This commit is contained in:
Paul O’Shannessy
2015-03-25 12:15:41 -07:00
parent 13dbda3644
commit 56b180b464
@@ -616,7 +616,7 @@ describe('ReactCompositeComponent', function() {
});
expect(parentInstance.state.flag).toBe(true);
expect(console.warn.argsForCall.length).toBe(0);
expect(console.error.argsForCall.length).toBe(0);
reactComponentExpect(childInstance).scalarContextEqual({foo: 'bar', depth: 0});
});