chai-51st-state

1.1.0 • Public • Published

51st State Style Chai Assertions

Elmo: "Bollocks" is bad, whereas "the dog's bollocks" is good, huh?

A plugin for chai to allow you to test what is bollocks and what is the dog's bollocks.

Install

npm i --save-dev chai-51st-state

Use

const chai = require('chai')
const chai51stState = require('chai-51st-state')
const should = chai.should()

chai.use(chai51stState)

it('does a test', () => {
    false.should.be.bollocks
    false.should.be.fucking.bollocks
    true.should.be.dogs.bollocks
    true.should.be.the.dogs.fucking.bollocks
})

CHANGELOG

v1.0.1

Initial release

v1.1.0

Adding emphasis

Package Sidebar

Install

npm i chai-51st-state

Weekly Downloads

0

Version

1.1.0

License

ISC

Last publish

Collaborators

  • lukehansell