diegohaz / arc

React starter kit based on Atomic Design

Home Page:https://arc.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I have to write integration tests, if all children components should be mocked

kimslava93 opened this issue · comments

I've noticed that sub components are mocked, and I see the reason why, but I can't find a way to test business logic of my app. So what if I want to test end user actions with redux form, where sub components are applied? Should I ignore components mock somehow for it?
Sorry if answer is obvious, but I really can't find a way in this situation...

commented

You can do that with end-to-end tests. See testcafe.