react-everywhere/re-start

React-Native Testing

ReyHaynes opened this issue · 4 comments

First off, I want to say, great template.

Unfortunately this does not test well. Even simply running yarn run test with a new initiated project will fail even though the build will run. Is there a way to get past that?

I'm interested on the testing issue, could you be able to explain yourself? Maybe re-base template is better suited for that?

After going through the install, running yarn run test in general fails the rendering stage.

image

The error is pretty obvious for a react-native build test, but even removing window will lead a line of other errors.

The app works fine but...would love to know if that is just a thing that isn't avoidable. jest testing is pretty important for me as my app grows.

Maybe could you be able to try to fix the errors and do a pull-request?

That'd be great @piranna!