* * @param {string} source Source code of the module. * @param {string} url URL of the module. * @param {boolean} isEntryPoint Whether the module is the entry point. * @returns {Promise } The module object.
(source, url, isEntryPoint = false)
| 247 | * @returns {Promise<object>} The module object. |
| 248 | */ |
| 249 | eval(source, url, isEntryPoint = false) { |
| 250 | const context = isEntryPoint ? { isMain: true } : undefined; |
| 251 | const wrap = this.createModuleWrap(source, url, context); |
| 252 | return this.executeModuleJob(url, wrap, isEntryPoint); |
| 253 | } |
| 254 | |
| 255 | /** |
| 256 | * This constructs (creates, instantiates and evaluates) a module graph that |
no test coverage detected