MCPcopy Create free account
hub / github.com/STRML/react-router-component / getRenderedContent

Function getRenderedContent

tests/browser/browser.js:45–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45function getRenderedContent() {
46 var content = app.refs.content || app.refs.router;
47 var node = ReactDOM.findDOMNode(content);
48 return node.textContent || node.innerText;
49}
50
51function assertRendered(text) {
52 assert.equal(

Callers 1

assertRenderedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected