Socket
Socket
Sign inDemoInstall

serverless-test-plugin

Package Overview
Dependencies
25
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.3 to 0.2.4

6

index.js

@@ -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) => {

2

package.json
{
"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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc