Fix style test for Jasmine 2 (#6913)

(cherry picked from commit e62384bca4)
This commit is contained in:
Ben Alpert authored and Paul O’Shannessy committed 2016-06-14 15:49:49 -07:00
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() {