Closed emanchado closed 9 years ago
If you return a list of tests this will work correctly.
I'm probably going to be redoing most of this over the next month. And try to use cljs.test for testing. Devcards is going to undergo a big make over hopefully :)
And a simplification as well.
This has been addressed with the latest release of devcards which now uses cljs.test!
It seems that defining a test card as a let block makes the card only execute the last test. At first I didn't realise that each test should have a row with results (I'm just getting started with devcards), so I didn't even realise that my tests were failing! For someone more familiar with devcards is less of a problem, but still...
Example code:
I imagine this is a bug and not expected behaviour, and I hope it's possible to fix :-)