Skip to content

Commit

Permalink
Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Dail authored and Brandon Dail committed May 2, 2016
1 parent 61e6281 commit c759110
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1109,11 +1109,11 @@ describe('ReactDOMComponent', function() {
});

it('should not warn when server-side rendering `onScroll`', function() {
spyOn(console, 'error');
ReactDOMServer.renderToString(React.createElement('div', {
onScroll: () => {}
}));
expect(console.error).not.toHaveBeenCalled();
spyOn(console, 'error');
ReactDOMServer.renderToString(React.createElement('div', {
onScroll: () => {},
}));
expect(console.error).not.toHaveBeenCalled();
});
});

Expand Down

0 comments on commit c759110

Please sign in to comment.