mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
feat: add debug.deep and debug.shallow (#37)
<!-- Please provide enough information so that others can review your pull request. --> <!-- Keep pull requests small and focused on a single change. --> ### Summary Adds API proposed by https://github.com/callstack/react-native-testing-library/pull/33#issuecomment-430302079. Also component output is now highlighted: <img width="259" alt="screenshot 2018-10-16 at 19 33 25" src="https://user-images.githubusercontent.com/5106466/47035614-c10efb80-d17a-11e8-99ac-00f648880008.png"> ### Test plan Added tests for `debug`.
This commit is contained in:
committed by
GitHub
parent
03e2c4b0f2
commit
05db7bcaac
@@ -24,6 +24,7 @@
|
||||
"react": "16.6.0-alpha.8af6728",
|
||||
"react-native": "^0.57.3",
|
||||
"react-test-renderer": "16.6.0-alpha.8af6728",
|
||||
"strip-ansi": "^5.0.0",
|
||||
"typescript": "^3.1.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user