MCPcopy
hub / github.com/emberjs/ember.js / visit

Function visit

tests/node/helpers/setup-app.js:126–137  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

124}
125
126function visit(url) {
127 let app = this.createApplication();
128 let dom = new SimpleDOM.Document();
129
130 return this.run(app, 'visit', url, {
131 isBrowser: false,
132 document: dom,
133 rootElement: dom.body,
134 }).catch(function (error) {
135 console.error(error.stack);
136 });
137}
138
139function renderToHTML(url) {
140 let app = this.createApplication();

Callers 6

rewriteModuleFunction · 0.50
__name__-test.jsFile · 0.50
addon-default.jsFile · 0.50
default.jsFile · 0.50
addon-nested.jsFile · 0.50
__name__-test.jsFile · 0.50

Calls 3

runMethod · 0.80
errorMethod · 0.65
createApplicationMethod · 0.45

Tested by

no test coverage detected