@chiragrupani/karma-chromium-edge-launcher
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -21,6 +21,6 @@ "use strict"; | ||
darwin: Utilities_1.default.GetEdgeDarwin('/Applications/Microsoft Edge Beta.app/Contents/MacOS/Microsoft Edge Beta'), | ||
win32: Utilities_1.default.GetEdgeExe('Edge Beta') | ||
win32: Utilities_1.default.GetEdgeExe('Edge Beta'), | ||
}, | ||
ENV_CMD: 'EDGE_Beta_BIN' | ||
ENV_CMD: 'EDGE_BETA_BIN', | ||
}; | ||
exports.default = EdgeBetaBrowser; |
@@ -23,4 +23,4 @@ "use strict"; | ||
}, | ||
ENV_CMD: 'EDGE_Beta_BIN' | ||
ENV_CMD: 'EDGE_BETA_BIN' | ||
}; | ||
exports.default = EdgeBetaHeadlessBrowser; |
{ | ||
"name": "@chiragrupani/karma-chromium-edge-launcher", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "A Karma plugin. Launcher for different Chromium Edge channels - Dev, Canary, Beta and Stable", | ||
@@ -28,3 +28,5 @@ "main": "dist/index.js", | ||
"microsoft", | ||
"edge" | ||
"edge", | ||
"Chromium Edge Launcher", | ||
"Karma" | ||
], | ||
@@ -42,3 +44,3 @@ "author": "Chirag", | ||
"chai": "^4.2.0", | ||
"mocha": "^7.1.2", | ||
"mocha": "^7.2.0", | ||
"mocha-junit-reporter": "^1.23.3", | ||
@@ -45,0 +47,0 @@ "nyc": "^15.0.1", |
@@ -1,6 +0,6 @@ | ||
# karma-chromiumedge-launcher | ||
# karma-chromium-edge-launcher | ||
> Launcher for Chromium Edge Canary, Dev, Beta and Stable channels for Windows OS and Mac OS | ||
Now available on [NPM Registry](https://www.npmjs.com/package/@chiragrupani/karma-chromium-edge-launcher) 🎉 | ||
Available in [NPM Registry](https://www.npmjs.com/package/@chiragrupani/karma-chromium-edge-launcher) ?? | ||
@@ -47,2 +47,17 @@ ## Installation | ||
If you want to explicity specify the path for browser installation, set environment variable from this list, corresponding to release channel: | ||
```bash | ||
EDGE_BIN, EDGE_BETA_BIN, EDGE_DEV_BIN, EDGE_CANARY_BIN | ||
``` | ||
Example: | ||
```bash | ||
# Add at top of karma.conf.js | ||
process.env.EDGE_DEV_BIN = | ||
"C:\\Program Files (x86)\\Microsoft\\Edge Dev\\Application\\msedge.exe"; | ||
``` | ||
That's all is required to use Karma with Chromium Edge browser. | ||
@@ -58,3 +73,3 @@ | ||
In case you want to build package from github sources | ||
In case if you want to build package from github source | ||
@@ -61,0 +76,0 @@ ```bash |
21341
25
408
96