MCPcopy Index your code
hub / github.com/Legitcode/tests / renderToString

Function renderToString

src/tests.js:67–71  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

65 return this
66 },
67 renderToString(callback) {
68 const componentString = ReactDOMServer.renderToStaticMarkup(component)
69 callback.call(null, componentString)
70 return this
71 }
72 }
73
74 return testComponent.mixin({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected