Use proper render method in static markup event listener test (#7652)

This commit is contained in:
Nathan Hunzaker authored and Dan Abramov committed 2016-09-03 17:29:12 +01:00
1 parent 7b247f3609
commit 40c90a6499
1 file changed
+1 -1
@@ -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({});