@qawolf/config
Advanced tools
Comparing version 0.5.10 to 0.5.12
@@ -13,2 +13,3 @@ export declare const CONFIG: { | ||
headless: boolean; | ||
keyDelayMs: number; | ||
logLevel: string | undefined; | ||
@@ -15,0 +16,0 @@ logPath: string | undefined; |
@@ -30,2 +30,3 @@ "use strict"; | ||
headless: parseBool(process.env.QAW_HEADLESS), | ||
keyDelayMs: parseNumber(process.env.QAW_KEY_DELAY_MS, 0), | ||
logLevel: process.env.QAW_LOG_LEVEL, | ||
@@ -35,3 +36,3 @@ logPath: process.env.QAW_LOG_PATH, | ||
serial: parseBool(process.env.QAW_SERIAL), | ||
sleepMs: parseNumber(process.env.QAW_SLEEP_MS, 2000), | ||
sleepMs: parseNumber(process.env.QAW_SLEEP_MS, 1000), | ||
testUrl, | ||
@@ -38,0 +39,0 @@ videoPath: process.env.QAW_VIDEO_PATH |
{ | ||
"name": "@qawolf/config", | ||
"description": "qawolf config (node only)", | ||
"version": "0.5.10", | ||
"version": "0.5.12", | ||
"license": "BSD-3.0", | ||
@@ -29,3 +29,3 @@ "main": "./lib/index.js", | ||
}, | ||
"gitHead": "6c6f200a508e6ab8e01005878beba110b5021573" | ||
"gitHead": "f4ac1245b88c32309fa357e627185b33cfd861d3" | ||
} |
@@ -30,2 +30,3 @@ import dotenv from "dotenv"; | ||
headless: parseBool(process.env.QAW_HEADLESS), | ||
keyDelayMs: parseNumber(process.env.QAW_KEY_DELAY_MS, 0), | ||
logLevel: process.env.QAW_LOG_LEVEL, | ||
@@ -35,7 +36,7 @@ logPath: process.env.QAW_LOG_PATH, | ||
serial: parseBool(process.env.QAW_SERIAL), | ||
// slow down each step by 2s to make it watchable | ||
// slow down each step by 1s to make it watchable | ||
// this also gives sites time to setup their handlers | ||
sleepMs: parseNumber(process.env.QAW_SLEEP_MS, 2000), | ||
sleepMs: parseNumber(process.env.QAW_SLEEP_MS, 1000), | ||
testUrl, | ||
videoPath: process.env.QAW_VIDEO_PATH | ||
}; |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
8927
119
21