From cdd2b00054ce0f9286324f2e3ac0f39317d19326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Wed, 12 Aug 2020 18:45:25 +0200 Subject: [PATCH] docs: adjust wording around `debug` --- website/docs/API.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/website/docs/API.md b/website/docs/API.md index 8937c9d25..071095df8 100644 --- a/website/docs/API.md +++ b/website/docs/API.md @@ -86,7 +86,7 @@ Usually you should not need to call `unmount` as it is done automatically if you debug(message?: string): void ``` -Prints deeply rendered component passed to `render` with optional message on top. Uses [debug.deep](#debug) under the hood, but it's easier to use. +Pretty prints deeply rendered component passed to `render` with optional message on top. ```jsx const { debug } = render(); @@ -99,17 +99,16 @@ logs optional message and colored JSX: ```jsx optional message - Press me - + ``` #### `debug.shallow` -Prints shallowly rendered component passed to `render` with optional message on top. Uses [debug.shallow](#debug) under the hood, but it's easier to use. +Pretty prints shallowly rendered component passed to `render` with optional message on top. ### `toJSON`