(url)
| 124 | } |
| 125 | |
| 126 | function 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 | |
| 139 | function renderToHTML(url) { |
| 140 | let app = this.createApplication(); |
no test coverage detected