mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Fix style test for Jasmine 2 (#6913)
(cherry picked from commit e62384bca4)
This commit is contained in:
1 parent
3d748e93f1
commit
74ea71b324
1 file changed
+1
-1
@@ -223,7 +223,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