| Index: test/runners/chromium_process.js |
| =================================================================== |
| --- a/test/runners/chromium_process.js |
| +++ b/test/runners/chromium_process.js |
| @@ -46,18 +46,11 @@ |
| .build(); |
| return executeScript(driver, "Chromium (WebDriver)", |
| script, scriptName, scriptArgs); |
| } |
| module.exports = function(script, scriptName, ...scriptArgs) |
| { |
| - return ensureChromium(CHROMIUM_REVISION).then(chromiumPath => |
| - { |
| - return runScript(chromiumPath, script, scriptName, scriptArgs) |
| - .then(result => result) |
| - .catch(error => |
| - { |
| - throw error; |
| - }); |
| - }); |
| + return ensureChromium(CHROMIUM_REVISION) |
| + .then(chromiumPath => runScript(chromiumPath, script, scriptName, scriptArgs)); |
| }; |