Socket
Socket
Sign inDemoInstall

bdd-wrappers

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

10

bdd-wrappers.js

@@ -6,2 +6,4 @@ /**

*/
'use strict';
function wrap(name, step) {

@@ -13,7 +15,7 @@ return function func(desc, cb) {

GLOBAL.GIVEN = wrap("GIVEN ", describe);
GLOBAL.WHEN = wrap("WHEN ", describe);
GLOBAL.AND = wrap("AND ", describe);
GLOBAL.THEN = wrap("IT ", it);
this.GIVEN = wrap("GIVEN ", describe);
this.WHEN = wrap("WHEN ", describe);
this.AND = wrap("AND ", describe);
this.THEN = wrap("IT ", it);
module.exports.wrap = wrap;

2

package.json
{
"name": "bdd-wrappers",
"description": "BDD wrappers for jasmine and mocha describe/it to help writing tests in GIVEN WHEN THEN AND IT fashion",
"version": "0.0.1",
"version": "0.0.2",
"homepage": "https://github.com/podefr/bdd-wrappers",

@@ -6,0 +6,0 @@ "licenses": [{

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