Hi All! I am trying to make testing environemnt work in react-native (expo) using shadow-cljs, but it seems I got really stuck. What I want to do is to have the same effect as using jest with react-native. This means re-frame tests + unit tests + maybe some component tests. I do not want (if possible) to start the iOS/android simulator, so I guess the "react-native" and "expo" targets in shadow will not do the trick. The "node-test" target came close but it cant handle dependencies (e.g. expo and react), keeps complaining somebody used "import" keyword or that syntax is alltogether wrong (I guess this is because babel did not go through dependencies and didnt normalise them). Do you have any idea I could approach this type of testing using shadow (or any other way)?
I have tried to solve this problem. The major issue is that I needed the react-native enviornment to test even the re-frame stuff. I think Jest is the best approach for this — I don’t think it is possible to use a different shadow-cljs target.