mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix odd formatting in ReactDOMComponent-test
Test Plan: Crossed fingers.
This commit is contained in:
@@ -175,8 +175,10 @@ describe('ReactDOMComponent', function() {
|
||||
|
||||
it("should transition from innerHTML to string content", function() {
|
||||
var container = document.createElement('div');
|
||||
React.render(<div dangerouslySetInnerHTML={{__html: 'bonjour'}} />
|
||||
, container);
|
||||
React.render(
|
||||
<div dangerouslySetInnerHTML={{__html: 'bonjour'}} />,
|
||||
container
|
||||
);
|
||||
|
||||
expect(container.firstChild.innerHTML).toEqual('bonjour');
|
||||
React.render(<div>adieu</div>, container);
|
||||
|
||||
Reference in New Issue
Block a user