🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

betterer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

betterer

Proof of concept for tests that read better(er)

1.0.2
latest
Source
npm
Version published
Maintainers
1
Created
Source

betterer

Build Status Coverage Status Code Climate

Proof of concept for tests that read better(er)

Install

npm i betterer

Basic usage

var better = require('./betterer.js').better;

// must export a doTheRightThing function, typically with at least one `it`
var yourTests = require('./yourTests.js');

var o_o = describe;

o_o('using your thing', function() { var o_O = yourTests;
  o_o('the right way', better('do the right thing', o_O));
});

The string 'do the right thing' is mapped to the doTheRightThing function exported by yourTests.js.

See more

  • spec

Keywords

testing

FAQs

Package last updated on 21 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts