Skip to content

Commit

Permalink
Use proper render method in static markup event listener test (facebo…
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker authored and acdlite committed Sep 9, 2016
1 parent f2558df commit cc541e9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -326,7 +326,7 @@ describe('ReactServerRendering', function() {
var EventPluginHub = require('EventPluginHub');
var cb = jest.fn();

ReactServerRendering.renderToString(
ReactServerRendering.renderToStaticMarkup(
<span onClick={cb}>hello world</span>
);
expect(EventPluginHub.__getListenerBank()).toEqual({});
Expand Down

0 comments on commit cc541e9

Please sign in to comment.