shichongrui / react-native-test-utils

A test utils library for testing react native components
24 stars 5 forks source link

Mocks #13

Closed rborn closed 5 years ago

rborn commented 6 years ago

Fix for #8

@shichongrui is this something that you thing it's good to be like this? I tested it and it works pretty nice, maybe we need to identify what other components need to be mocked, but for a start I think it should be fine

let me know 🤗

DaKaZ commented 6 years ago

@rborn looks good to me! I manually mock this stuff all the time so these addtions would be great. What do you think @shichongrui can we get this PR in?

rborn commented 6 years ago

@shichongrui @DaKaZ should be fixed now, sorry for the delay 🤗

DaKaZ commented 5 years ago

@shichongrui can we get this merged??

shouse commented 5 years ago

@shichongrui Any update with this? It would be very useful for a lot of tests that I have, and would make my code a lot more DRY.

BTW, thanks for this testing lib!

shichongrui commented 5 years ago

Published to npm as version 1.3.0 https://www.npmjs.com/package/react-native-test-utils