Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lukehansell/chai-51st-state

A plugin for chai to allow you to test what is bollocks and what is the dog's bollocks.
https://github.com/lukehansell/chai-51st-state

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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