Skip to content

Commit e10338e

Browse files
alathonnovemberborn
authored andcommitted
Update readme.md (#1075)
Clarify that context is initialized anew for each test.
1 parent dae3a44 commit e10338e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ test(t => {
549549
});
550550
```
551551

552-
By default `t.context` is an object but you can reassign it:
552+
The context is not shared between tests, allowing you to set up data in a way where it will not risk leaking to other, subsequent tests. By default `t.context` is an object but you can reassign it:
553553

554554
```js
555555
test.beforeEach(t => {

0 commit comments

Comments
 (0)