Hi all, I'm trying to figure out complete testing workflow for my Om components. My app is making calls to a restful backend, e.g. on will-mount my components is getting a json list via cljs-http. I have some Angular / Java experience so it's typical for me to write tests like this:
1. mock responses 2. call tested code (which interacts with mocked backend) 3. verify invocations Is it possible at all with cljs or maybe my approach is flawed? Some other way to test client-server communication? I found this: https://groups.google.com/forum/#!topic/closure-library-discuss/jmLLoyYGGiY but the goog.testing.net module is missing in cljs dist. Any other ideas? Regards, Piotr -- 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 http://groups.google.com/group/clojurescript.
