Closed MarlonAEC closed 4 weeks ago
Is it possible to unit-test this library? Like adding a full integration test to verify the toast has been launched or maybe a way to mock the toast to be used inside a Jest unit test? If so, is it possible to add more info about it in the docs
Hey @MarlonAEC . The fastest way to test toasts in your project is by using *ByText query.
*ByText
Is it possible to unit-test this library? Like adding a full integration test to verify the toast has been launched or maybe a way to mock the toast to be used inside a Jest unit test? If so, is it possible to add more info about it in the docs