4 ms·
There aren't any library features for TDD per se but standard JavaScript testing practices work on React objects (barring some weirdness around autobound method
by lucaswoj 13y 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)
- tomhallett 13y agoI 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 https://github.com/tommyh/jasmine-react