Hacker News new | ask | show | jobs
by lucaswoj 4533 days ago
There aren't any library features for TDD per se but standard JavaScript testing practices work on React objects (barring some weirdness around autobound methods)
1 comments

I wrote a jasmine helper utility to tdd reactjs components. And I handle spying on functions which are autobound by react!

I just launched it last week, so I will be working on some screencasts to explain using it in further detail.

https://github.com/tommyh/jasmine-react