From e019cd4729e448003cd905f081d51a6f6e332c84 Mon Sep 17 00:00:00 2001 From: Bunyamin Shabanov <42899786+MetaMmodern@users.noreply.github.com> Date: Wed, 28 Oct 2020 20:55:03 +0200 Subject: [PATCH] Update API.md Shallow is removed since migration to v2.0. Mentioned [here](https://callstack.github.io/react-native-testing-library/docs/migration-v2#removed-global-shallow-function) Also no method is available after calling `debug()`. VSCode also shows error when trying to call `shallow()` after `.debug` or `.debug()` --- website/docs/API.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/website/docs/API.md b/website/docs/API.md index abdef6031..25d059f7d 100644 --- a/website/docs/API.md +++ b/website/docs/API.md @@ -106,10 +106,6 @@ optional message ``` -#### `debug.shallow` - -Pretty prints shallowly rendered component passed to `render` with optional message on top. - ### `toJSON` ```ts