From 765480538ef826e53bff93fee73824910f5a5d4e Mon Sep 17 00:00:00 2001 From: ThetaSinner Date: Tue, 20 Feb 2024 14:44:02 +0000 Subject: [PATCH] Update src/pages/get-started/upgrade-holochain.md Co-authored-by: Stefan Junker <1181362+steveej@users.noreply.github.com> --- src/pages/get-started/upgrade-holochain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/get-started/upgrade-holochain.md b/src/pages/get-started/upgrade-holochain.md index 5ec637fe4..197fd8ade 100644 --- a/src/pages/get-started/upgrade-holochain.md +++ b/src/pages/get-started/upgrade-holochain.md @@ -140,7 +140,7 @@ npm install --workspace tests @holochain/tryorama@^0.15.2 This will not install version `0.15.2` if a newer version has been released. Check your `package-lock.json` to see exactly what version got installed. It will be `0.15.x` because the `^` constraint only permits patch upgrades, so you will get a version that's compatible with Holochain 0.2. !!! -#### Bonus: Switch from `sleep` to `dhtSync` in Tryorama tests +#### Recommended: Switch from `sleep` to `dhtSync` in Tryorama tests In the version of Tryorama that was compatible with 0.1 you had to use the `sleep` function when creating data with one player and waiting for it to be visible to other players. With the version of Tryorama you have just upgraded to, there is a new way to do this using the `dhtSync` function instead.