Socket
Socket
Sign inDemoInstall

serverless-mocha-plugin

Package Overview
Dependencies
48
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.0 to 1.8.0

test/integration8.10.js

10

index.js

@@ -25,2 +25,3 @@ 'use strict';

'aws-nodejs6.10',
'aws-nodejs8.10',
];

@@ -497,8 +498,11 @@

fse.writeFileSync(serverlessYmlFilePath, ymlEditor.dump());
if (runtime === 'aws-nodejs4.3' || runtime === 'aws-nodejs6.10') {
if (runtime === 'aws-nodejs4.3' ||
runtime === 'aws-nodejs6.10' ||
runtime === 'aws-nodejs8.10') {
return this.createAWSNodeJSFuncFile(handler);
}
return BbPromise.resolve();
throw new this.serverless.classes.Error(`Unknown runtime ${runtime}`);
// return BbPromise.resolve();
});

@@ -505,0 +509,0 @@ }

{
"name": "serverless-mocha-plugin",
"version": "1.7.0",
"version": "1.8.0",
"engines": {

@@ -8,7 +8,7 @@ "node": ">=4.0"

"description": "Serverless plugin for test driven development using mocha",
"author": "Mikael Puittinen (https://sc5.io)",
"author": "Mikael Puittinen (https://nordcloud.com)",
"contributors": [
"Anssi Herranen (https://sc5.io)",
"Anssi Herranen",
"RafaƂ Janicki",
"Eetu Tuomala (https://sc5.io)"
"Eetu Tuomala"
],

@@ -18,3 +18,3 @@ "license": "MIT",

"type": "git",
"url": "https://github.com/SC5/serverless-mocha-plugin"
"url": "https://github.com/nordcloud/serverless-mocha-plugin"
},

@@ -37,3 +37,3 @@ "keywords": [

"scripts": {
"test": "mocha -t 15000",
"test": "nyc mocha -t 30000",
"lint": "eslint ."

@@ -51,3 +51,4 @@ },

"node-yaml": "^3.0.3",
"serverless": "^1.15.1",
"nyc": "^11.4.1",
"serverless": "latest",
"serverless-webpack": "^1.0.0-rc.4",

@@ -54,0 +55,0 @@ "webpack-node-externals": "^1.5.4"

# Serverless Mocha Plugin
[![Build Status](https://travis-ci.org/SC5/serverless-mocha-plugin.svg?branch=master)](https://travis-ci.org/SC5/serverless-mocha-plugin)
[![Build Status](https://travis-ci.org/nordcloud/serverless-mocha-plugin.svg?branch=master)](https://travis-ci.org/nordcloud/serverless-mocha-plugin)

@@ -83,3 +83,3 @@ A Serverless Plugin for the [Serverless Framework](http://www.serverless.com) which

NOTE: Live running does not currently work. Waiting for serverless 1.0 to finalize / have required env variables available
NOTE: Live running does not currently work. Need to finalize / have required env variables available

@@ -186,2 +186,3 @@ ### Running tests

* 2018/04/03 - v1.8.0 - add support for Node 8
* 2017/09/10 - v1.7.0 - ability to run scripts before / after tests

@@ -204,3 +205,3 @@ * 2017/09/09 - v1.6.0 - also run tests from subfolders of test

Copyright (c) 2017 [SC5](http://sc5.io/), licensed for users and contributors under MIT license.
https://github.com/SC5/serverless-mocha-plugin/blob/master/LICENSE
Copyright (c) 2017 [Nordcloud](https://nordcloud.com/), licensed for users and contributors under MIT license.
https://github.com/nordcloud/serverless-mocha-plugin/blob/master/LICENSE

@@ -7,13 +7,17 @@ {

"type": "git",
"url": "https://github.com/SC5/serverless-mocha-plugin"
"url": "https://github.com/nordcloud/serverless-mocha-plugin"
},
"license": "MIT",
"devDependencies": {
"babel-preset-es2015": "^6.24.0"
"babel-preset-env": "^1.6.1"
},
"babel": {
"presets": [
"es2015"
]
}
["env", {
"targets": {
"node": "current"
}
}]
]
}
}

Sorry, the diff of this file is not supported yet

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