Skip to content

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

Notifications You must be signed in to change notification settings

lukehansell/chai-51st-state

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published