cypress-run
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -22,2 +22,9 @@ #!/usr/bin/env node | ||
const processEnv = env => | ||
env.split(',').reduce((acc, pair) => { | ||
const [key, value] = pair.split('=') | ||
acc[key] = value | ||
return acc | ||
}, {}) | ||
const descriptions = { | ||
@@ -134,3 +141,3 @@ record: 'records the run. sends test results, screenshots and videos to your Cypress Dashboard.', | ||
.option('-p, --port <port>', descriptions.port) | ||
.option('-e, --env <env>', descriptions.env) | ||
.option('-e, --env <env>', descriptions.env, processEnv) | ||
.option('-c, --config <config>', descriptions.config) | ||
@@ -137,0 +144,0 @@ .option('-b, --browser <browser-name>', descriptions.browser) |
{ | ||
"name": "cypress-run", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Cypress run replacement that supports parallel execution and retries", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
47837
1287