Skip to content

Commit

Permalink
Use proper render method in static markup event listener test (#7652)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhunzaker authored and gaearon committed Sep 3, 2016
1 parent 7b247f3 commit 40c90a6
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 40c90a6

Please sign in to comment.