Browse Source

Update readme.md (#1075)

Clarify that context is initialized anew for each test.
hoisting-throws-helper
Martin Grünbaum 8 years ago
committed by Mark Wubben
parent
commit
e10338ebf1
  1. 2
      readme.md

2
readme.md

@ -549,7 +549,7 @@ test(t => {
});
```
By default `t.context` is an object but you can reassign it:
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:
```js
test.beforeEach(t => {

Loading…
Cancel
Save