From e10338ebf149f6df567166cbe639ea7f1bb4311a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=BCnbaum?= <martin@itsolveonline.net> Date: Fri, 14 Oct 2016 16:28:31 +0200 Subject: [PATCH] Update readme.md (#1075) Clarify that context is initialized anew for each test. --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 5e8fe2ec8..69768c2aa 100644 --- a/readme.md +++ b/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 => {