Skip to content

Commit 398c09c

Browse files
committed
chore(*): do not install WebDriver for Firefox to avoid error on CI
See angular/webdriver-manager#303 for details.
1 parent 4079e61 commit 398c09c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"test": "karma start karma.conf.js",
3434
"test-single-run": "npm test -- --single-run",
3535
"preupdate-webdriver": "npm install",
36-
"update-webdriver": "webdriver-manager update",
36+
"//": "Do not install the Firefox driver to work around https://github.com/angular/webdriver-manager/issues/303.",
37+
"update-webdriver": "webdriver-manager update --gecko false",
3738
"preprotractor": "npm run update-webdriver",
3839
"protractor": "protractor e2e-tests/protractor.conf.js",
3940
"update-index-async": "node --eval \"var fs=require('fs'),indexFile='app/index-async.html',loaderFile='app/lib/angular-loader/angular-loader.min.js',loaderText=fs.readFileSync(loaderFile,'utf-8').split(/sourceMappingURL=angular-loader.min.js.map/).join('sourceMappingURL=lib/angular-loader/angular-loader.min.js.map'),indexText=fs.readFileSync(indexFile,'utf-8').split(/\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/).join('//@@NG_LOADER_START@@\\n'+loaderText+' //@@NG_LOADER_END@@');fs.writeFileSync(indexFile,indexText);\""

0 commit comments

Comments
 (0)