Skip to content

Commit

Permalink
Update README.md for conventions used in the prior usage
Browse files Browse the repository at this point in the history
  • Loading branch information
deeperx committed Nov 17, 2016
1 parent 01f76b8 commit 658cea2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -119,23 +119,23 @@ var should = chai.should();
## Usage for ES6+

```js
// Using Assert style
import assert from 'chai/assert'
// Using Expect style
// Using Assert style
import expect from 'chai/expect'
// Using Should style
// Using Expect style
import should from 'chai/should'
// Using Should style
```

## Usage with Mocha

```bash
# Using Assert style
mocha spec.js -r chai/assert # OR:
# Using Expect style
# Using Assert style
mocha spec.js -r chai/expect # OR:
# Using Should style
# Using Expect style
mocha spec.js -r chai/should
# Using Should style
```

[Read more about these styles in our docs](http://chaijs.com/guide/styles/).
Expand Down

0 comments on commit 658cea2

Please sign in to comment.