diff --git a/src/renderers/dom/client/__tests__/ReactDOMSVG-test.js b/src/renderers/dom/client/__tests__/ReactDOMSVG-test.js
index 2898d2c2e47e3..dd196db9285cc 100644
--- a/src/renderers/dom/client/__tests__/ReactDOMSVG-test.js
+++ b/src/renderers/dom/client/__tests__/ReactDOMSVG-test.js
@@ -30,4 +30,13 @@ describe('ReactDOMSVG', function() {
expect(markup).toContain('xlink:href="http://i.imgur.com/w7GCRPb.png"');
});
+ it('creates tspan for text components', function() {
+ var markup = ReactDOMServer.renderToString(
+
+ );
+ expect(markup).toContain('' +
+ '<' + tag + ' ' + DOMPropertyOperations.createMarkupForID(domID) + '>' +
escapedText +
- ''
+ '' + tag + '>'
);
}
},