Skip to content

Commit 832f6c2

Browse files
gswaldenkeithamus
authored andcommitted
docs: add note about agent server not closing (close #188) (#190)
1 parent cee5dbd commit 832f6c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ agent
246246
});
247247
```
248248

249+
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.
250+
249251
## Assertions
250252

251253
The Chai HTTP module provides a number of assertions

0 commit comments

Comments
 (0)