Skip to content

Commit

Permalink
docs: add chai.expect usage to readme (#173)
Browse files Browse the repository at this point in the history
expect function was being used in readme examples without ever
explicitly defining expect
  • Loading branch information
cornelius-k authored and keithamus committed Oct 19, 2017
1 parent 2604c3b commit 80b4efb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -118,6 +118,12 @@ chai.request(app)

#### Dealing with the response - traditional

In the following examples we use Chai's Expect assertion library:

```js
var expect = chai.expect;
```

To make the request and assert on its response, the `end` method can be used:

```js
Expand Down

0 comments on commit 80b4efb

Please sign in to comment.