wdio-wiremock-service
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -1,3 +0,7 @@ | ||
## 6.0.0 | ||
## 6.0.2 | ||
- Fixed Unrecognized option error when assigning arguments | ||
## 6.0.0 - 6.0.1 | ||
- Updated the service to be optimised for WebdriverIO v6 | ||
@@ -4,0 +8,0 @@ - Fixed non-graceful shutdown when in watch mode |
@@ -33,2 +33,3 @@ "use strict"; | ||
constructor(options = {}, capabilities, config) { | ||
var _a; | ||
const port = options.port || 8080; | ||
@@ -51,3 +52,3 @@ const rootDir = options.rootDir || 'wiremock'; | ||
} | ||
this.watchMode = Boolean(config === null || config === void 0 ? void 0 : config.watch); | ||
this.watchMode = Boolean((_a = config) === null || _a === void 0 ? void 0 : _a.watch); | ||
this.binPath = binPath; | ||
@@ -58,6 +59,3 @@ this.port = port; | ||
this.skipWiremockInstall = !!skipWiremockInstall; | ||
this.args = args; | ||
this.args = this.args.concat(['-jar', binPath]); | ||
this.args = this.args.concat(['-port', port]); | ||
this.args = this.args.concat(['-root-dir', rootDir]); | ||
this.args = ['-jar', binPath, '-port', port, '-root-dir', rootDir].concat(args); | ||
} | ||
@@ -64,0 +62,0 @@ onPrepare() { |
{ | ||
"name": "wdio-wiremock-service", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "A WebdriverIO service to start & stop WireMock Standalone", | ||
@@ -5,0 +5,0 @@ "author": "Erwin Heitzman <erwin.heitzman@gmail.com>", |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
1
20688
166