serverless-test-plugin
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -71,2 +71,5 @@ 'use strict'; | ||
description: 'The region used to populate your templates. Default: the first region for the first stage found.' | ||
},{ | ||
option: 'dont-fail-on-error', | ||
description: 'Exit with error code 0 even if one or more test cases fail.' | ||
}], | ||
@@ -272,3 +275,4 @@ parameters: [{ | ||
.then(() => { | ||
process.exit(failed > 0 ? 1 : 0); // FIXME force exit | ||
var exitCode = (failed && !evt.options["dont-fail-on-error"]) ? 1 : 0; | ||
process.exit(exitCode); | ||
}) | ||
@@ -275,0 +279,0 @@ .catch((err) => { |
{ | ||
"name": "serverless-test-plugin", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=4.0" |
@@ -98,2 +98,7 @@ #Serverless Test Plugin | ||
### 0.2.4 | ||
* New command line option `--dont-fail-on-error` which makes the plugin exit | ||
with error code `0` even in case a test fails. This enables the same behavior as before the | ||
0.2.2 update. | ||
### 0.2.3 | ||
@@ -100,0 +105,0 @@ * Properly time out a function call, e.g. in case the response callback is never invoked. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14522
249
133