Published an In depth Guide on RNTL (700+ GitHub STAR & ~400 CLAP in Medium) #1555
Closed
anisurrahman072
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Congrats! What do you expect us to do about it? :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🚀 I have published an In Depth Guide on RNTL (React Native Testing Library)
All the topics that have been covered in this guide
React Native Testing Library (RNTL)
Setup JEST config (for RNTL)
Common Error in JEST config — ES6/Ts/cjs/mts
Command to run a test file
React Native Testing Library (RNTL) APIs
🪵 RNTL API — render()
🐠 TEST Component with Provider — by render() API
🐠 “queries” option — render() API
🐠 “update" option — render() API
🐠 “debug" option — render() API
🪵 RNTL API — userEvent()
🐠 Example of FireEvent() API
🪵 RNTL API — waitFor()
What is Mocking ?
🍁 Difference between jest.fn() & jest.mock()
🍁 How to Mock a Real Function (by jest.fn()) ?
🍁 How to Mock a Native Module (by jest.mock())?
🍁 Another example of Native Module Mocking ( jest.mock() )
Some Advanced Share about RNTL
Differentiating between host and composite elements
Beta Was this translation helpful? Give feedback.
All reactions