Skip to content

Commit

Permalink
update README, package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
svenkatreddy committed Apr 14, 2017
1 parent 326e728 commit b04f043
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ chai with sinon-chai, dirty-chai, sinon-as-promised with mixed features
npm install ultimate-chai --save-dev
```

## Usage
```
const chai = require('ultimate-chai');
const expect = chai.expect;
expect(true).to.be.true();
```
(or)
```
const expect = require('ultimate-chai').expect;
expect(true).to.be.true();
```

# Dirty Chai Assertions

The following built-in assertions are modified by this plugin to now use the function-call form:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ultimate-chai",
"version": "2.0.0",
"version": "3.1.0",
"description": "ultimate chai library you'll ever need with cross mixture of sinon-chai, dirty-chai, chai-as-promised included",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b04f043

Please sign in to comment.