I'm interested in the idea of an async test but I am a little unclear how it could be implemented. More specifically If I have a component which has been render using cljs-react-test.utils. So I call new-container to give me a dom root then reagent/render-component on the component in question. At that point I make some arbitrary changes to fields using react simulated events. Then I should be able to click the submit button on the component in question via sim/click. But the submit handler dispatches other functions that don't seem to be executed.
Would it be easier if I looked through re-frame's source and found the actual queue then either made assertions against its contents, or forced the queue to be processed? Or would I be better severed placing these types of tests in an integration test suit and run them with selenium or karma. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/clojurescript.
