Socket
Socket
Sign inDemoInstall

bdd-wrappers

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bdd-wrappers - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

12

bdd-wrappers.js
/**
* bdd-wrappers.js - https://github.com/podefr/bdd-wrappers
* Copyright(c) 2013 Olivier Scherrer <pode.fr@gmail.com>
* Copyright(c) 2013-2014 Olivier Scherrer <pode.fr@gmail.com>
* MIT Licensed

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

var _global = Function('return this')();
function wrap(name, step) {

@@ -15,7 +17,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);
_global.GIVEN = wrap("GIVEN ", describe);
_global.WHEN = wrap("WHEN ", describe);
_global.AND = wrap("AND ", describe);
_global.THEN = wrap("IT ", it);
module.exports.wrap = wrap;
{
"name": "bdd-wrappers",
"description": "BDD wrappers for jasmine and mocha describe/it to help writing tests in GIVEN WHEN THEN AND fashion",
"version": "0.0.3",
"version": "0.0.4",
"homepage": "https://github.com/podefr/bdd-wrappers",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc