mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix style test for Jasmine 2 (#6913)
This commit is contained in:
@@ -225,7 +225,7 @@ describe('ReactDOMComponent', function() {
|
||||
});
|
||||
|
||||
ReactTestUtils.renderIntoDocument(<Component />);
|
||||
expect(console.error.calls.length).toBe(0);
|
||||
expect(console.error.calls.count()).toBe(0);
|
||||
});
|
||||
|
||||
it('should warn nicely about NaN in style', function() {
|
||||
|
||||
Reference in New Issue
Block a user