Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 2358bb6

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

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)