@samitouri / QOS-React-2 / commits / 56b180b464

Fix failing test

PR #3494 was based on master before we shifted to using console.error. This just fixes the new test case.

Paul O’Shannessy committed Mar 25, 2015 at 12:15 UTC 56b180b4643c79d0cb200e3767e171a79fec874f
1 file changed +1 -1
src/core/__tests__/ReactCompositeComponent-test.js
+1 -1
@@ -616,7 +616,7 @@ describe('ReactCompositeComponent', function() {
616 });
617 expect(parentInstance.state.flag).toBe(true);
618
619 - expect(console.warn.argsForCall.length).toBe(0);
619 + expect(console.error.argsForCall.length).toBe(0);
620
621 reactComponentExpect(childInstance).scalarContextEqual({foo: 'bar', depth: 0});
622 });