react-native-magnus icon indicating copy to clipboard operation
react-native-magnus copied to clipboard

[Enhancement] Components test

Open slamser56 opened this issue 4 years ago • 1 comments

Summary

All component hasn't tests, but component Div has test. It would be better if we add test for all components.

Motivation

Why should this be worked on? What problems or use cases does it solve or improve?

You'll want to validate that each unit of your React Native code performs as expected, and you’ll want to test each unit’s impact on the behaviour of your system.

Additional Context

https://callstack.github.io/react-native-testing-library/

slamser56 avatar Jun 23 '21 15:06 slamser56

@slamser56 Thanks for raising the issue :) I'll make sure to add tests cases for all widgets in version 2 of magnus. :D

jsartisan avatar Jun 25 '21 04:06 jsartisan