Fix style test for Jasmine 2 (#6913)
Ben Alpert committed
May 28, 2016 at 12:58 UTC
e62384bca4e0438b572b0f99e9051dff54b1bc32
1 file changed
+1
-1
src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
+1
-1
@@ -225,7 +225,7 @@ describe('ReactDOMComponent', function() {
225
});
226
227
ReactTestUtils.renderIntoDocument(<Component />);
228
- expect(console.error.calls.length).toBe(0);
228
+ expect(console.error.calls.count()).toBe(0);
229
});
230
231
it('should warn nicely about NaN in style', function() {