These are chat archives for anthonyshort/deku

3rd
Jul 2015
Daniel Sont
@ds0nt
Jul 03 2015 07:42
This makes me happy:
[dsont@dsont client]$ make test
# phantomjs:


  Elements are Valid
    ✓ exports "Page" component
    ✓ exports "LogoText" component
    ✓ exports "Row" component
    1) exports "Switch" component
    ✓ exports "Login" component
    ✓ exports "Register" component
    2) exports "App" component
    ✓ exports "Dummy" component


  6 passing (12ms)
  2 failing

  1) Elements are Valid exports "Switch" component:
     TypeError: 'undefined' is not a function (evaluating 'props.filter(c)')
      at render (src/components/frames/switch.js:6)
      at renderEntity (node_modules/deku/lib/render.js:209)
      at mountEntity (node_modules/deku/lib/render.js:165)
      at toNativeComponent (node_modules/deku/lib/render.js:479)
      at toNative (node_modules/deku/lib/render.js:417)
      at render (node_modules/deku/lib/render.js:273)
      at render (node_modules/deku/lib/render.js:94)
      at box (test/index.js:22)
      at test/index.js:53

  2) Elements are Valid exports "App" component:
     TypeError: 'undefined' is not an object (evaluating 'props.app.name')
      at render (null:null)
      at renderEntity (node_modules/deku/lib/render.js:209)
      at mountEntity (node_modules/deku/lib/render.js:165)
      at toNativeComponent (node_modules/deku/lib/render.js:479)
      at toNative (node_modules/deku/lib/render.js:417)
      at render (node_modules/deku/lib/render.js:273)
      at render (node_modules/deku/lib/render.js:94)
      at box (test/index.js:22)
      at test/index.js:71



Error: Exit 1

Makefile:51: recipe for target 'mochify' failed
make: *** [mochify] Error 1
[dsont@dsont client]$