Skip to content

Commit

Permalink
docs: add note about agent server not closing (close #188) (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
gswalden authored and keithamus committed Nov 15, 2017
1 parent cee5dbd commit 832f6c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -246,6 +246,8 @@ agent
});
```

Note: The server started by `chai.request.agent(app)` will not automatically close following the test(s). You should call `agent.close()` after your tests to ensure your program exits.

## Assertions

The Chai HTTP module provides a number of assertions
Expand Down

0 comments on commit 832f6c2

Please sign in to comment.