This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-12
Channels
- # bangalore-clj (4)
- # beginners (40)
- # boot (53)
- # cider (34)
- # cljs-dev (9)
- # cljsrn (11)
- # clojure (113)
- # clojure-boston (5)
- # clojure-dev (9)
- # clojure-dusseldorf (4)
- # clojure-russia (8)
- # clojure-spec (11)
- # clojure-uk (12)
- # clojurescript (88)
- # cloverage (17)
- # conf-proposals (4)
- # core-async (30)
- # cursive (9)
- # datomic (107)
- # euroclojure (5)
- # hoplon (196)
- # luminus (10)
- # off-topic (20)
- # om (24)
- # om-next (1)
- # onyx (80)
- # parinfer (3)
- # pedestal (16)
- # planck (44)
- # proton (8)
- # protorepl (1)
- # re-frame (19)
- # reagent (7)
- # spacemacs (2)
- # untangled (29)
- # yada (25)
@ilmirajat: I do my tests in node, but it was quite a task to set it up to work properly. I use react-native-mock
, babel
and mockery
in a bootstrapping script. Not pretty but tests run superfast in node 🙂
@vikeri: btw - why node and not phantomjs or any other browser? I think in browser-like environment it should even easier - less things to mock
@artemyarulin: Node is easier to work with and faster in my opinion compared to phantomjs/slimer, what would you avoid mocking in a browser?
It was just a guess - in browser environment you can try to render things (react-native-web, etc.), in node I guess it’s different, I don’t know… btw - can you show example how did you do it?
@artemyarulin: Trying to get my docker image to work, will put something together when things work again
I also decided to use Node instead of phantomjs because I wanted to ensure that npm dependencies don't use things (e.g.window object) that React Native doesn't have.
hm, makes sense and I guess node is more stable and faster comparing to phantom/slimmer
@boorad: done: https://github.com/mjmeintjes/boot-react-native/wiki/Troubleshooting
also feel free to edit the wiki page, it should be writable by everyone