Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/lukehansell/chai-51st-state
- Owner: lukehansell
- Created: 2016-01-28T21:57:02.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-29T11:21:00.000Z (almost 9 years ago)
- Last Synced: 2024-10-11T09:08:59.570Z (3 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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