mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
@@ -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});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user