reactivity icon indicating copy to clipboard operation
reactivity copied to clipboard

Testing Setup (WIP)

Open dawidvdh opened this issue 6 years ago • 8 comments

Todo:

  • Finish writing tests for all the components and containers.
  • Set up testing for redux

dawidvdh avatar Aug 06 '17 14:08 dawidvdh

Hey @zacck thanks for your suggestion I am definitely going to look into this, new to testing react components more accustomed to very simple unit testing with tape.

dawidvdh avatar Aug 19 '17 22:08 dawidvdh

hey @cybot1711 if I am not mistaken babel-preset-env wont include any stage-x plugins such as syntax-dynamic-import and transform-class-properties which is what stage-2 includes plus stage-3 which includes things like transform-object-rest-spread all of which is being utilized by this boilerplate.

So then we would have to manually include all these various stage-2 and stage-3 plugins which to me defeats the purpose in a sense? I don't know how do you feel about this @rocbear?

However I think its safe to remove the es2015 preset in favor of babel-preset-env which i have now opened a PR for #18, thanks for the suggestion @cybot1711.

dawidvdh avatar Aug 19 '17 22:08 dawidvdh

Coverage Status

Changes Unknown when pulling f511e297f9697e37136349e6fd849d4c6eef368f on feature/testing into ** on dev**.

coveralls avatar Aug 28 '17 08:08 coveralls

Coverage Status

Changes Unknown when pulling 72eeb12ee46a886c192740517e6c9c680e394017 on feature/testing into ** on dev**.

coveralls avatar Aug 30 '17 08:08 coveralls

Coverage Status

Changes Unknown when pulling 5ca58719f649bf75bd43ac62df83825b6e4cd55a on feature/testing into ** on dev**.

coveralls avatar Sep 05 '17 23:09 coveralls

Coverage Status

Changes Unknown when pulling 254649ab27ee4f94fef2e9a1782034a6734bc462 on feature/testing into ** on dev**.

coveralls avatar Oct 09 '17 16:10 coveralls

Coverage Status

Changes Unknown when pulling 4e2e22aac5cb53c826524c3af0f5c19bde28393b on feature/testing into ** on dev**.

coveralls avatar Oct 16 '17 20:10 coveralls

Coverage Status

Changes Unknown when pulling d228cbcc5ba85f7a2f00cc57e3e3986a33a57778 on feature/testing into ** on dev**.

coveralls avatar Oct 16 '17 20:10 coveralls