Debugging and Testing React Components with Effect Library

Hello,

I am working on a project in which your library, Effect, is used.
I am having significant difficulties testing my React components that rely on Effect.

I am testing my component with React Testing Library.

During my test, I encounter errors originating from Effect with an exception, but it is unclear which Effect is causing it (there are numerous Effects applied in this component). As a result, it is very difficult to determine what needs to be mocked and how to mock it since there are no clear clues.

As a beginner with Effect, is there a way to log all the Effects being called within the React component more precisely? This would help me investigate the issue.

Thank you for your understanding.
Was this page helpful?