Fork me on GitHub
#cljsrn
<
2017-12-08
>
jeaye02:12:59

Has anyone figured out how to get CLJS working with Jest?

jeaye02:12:34

If I compile my CLJS for :nodejs and run it under Jest, I just get TypeError: goog.addDependency is not a function

jeaye02:12:32

Seems like Jest might not actually run under node.

fabrao02:12:09

So, what do you use to develop app to ios and android as UI Library?

rnandan27303:12:12

react native elements is a good library @fabrao

jeaye06:12:34

Ok, I did get CLJSRN working with Jest... for anyone else trying: don't bother. Jest uses Babel, so it takes over 300s just to start running.

mv10:12:33

Has anyone experienced this issue: unrecognized font family 'ionicons'

mv10:12:32

If so, how did you solve it?

mv10:12:30

@seantempesta have you had to deal with it? I’m running your expo setup

seantempesta14:12:27

No I haven’t. Did @carocad’s solution work for you?

rnandan27314:12:58

I ran into the same issue, the iOS simulator threw this error, but when i publish to the expo app the icons were visible without error. I guess it has got something to do with the iOS simulator

carocad13:12:08

@mv yes I had that problem. The solution was simply to uninstall and reinstall the complete expo app on mobile

carocad13:12:30

it seems that the app doesnt update the native assets automatically

danielneal14:12:19

@seantempesta @mv I had to modify the template to call expo's register component rather than react native's to get font assets to work properly

seantempesta14:12:32

Oh, interesting. I thought they were interchangeable

danielneal14:12:52

as far as I could make out it does this one weird trick to make fontfamily asset references use the expo asset system

danielneal14:12:46

but I think that was only when I was using my own font assets anything built in will work

seantempesta14:12:06

Regardless, it is the expo template so I should update it

Quest21:12:00

Does anyone have a re-natal repo which implement re-frisk? I'm having issues getting it working (client hangs at "not connected") and looking for an example

Quest21:12:27

I mimic'd https://github.com/flexsurfer/re-frisk/wiki/Using-re-frisk-with-re-natal and can verify that the (rfs/-main) and (rr/enable-re-frisk-remote!) get run. I see overwriting handler ... { "ns": "re-frisk-remote.core" } when manually run enable-re-frisk-remote! at REPL, so it seems like that is going off just fine. I'm investigating the internals of re-frisk-remote now & will post-back if I can figure out what's wrong -- might be a while though