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

(cherry picked from commit 40c90a6499)
This commit is contained in:
Nathan Hunzaker authored and Paul O’Shannessy committed 2016-10-03 17:33:03 -07:00
1 parent a7b81a60c0
commit 88e29060cd
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({});