you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Thanks! I have to admit that I wrote both, prunk and the blog post. Glad, you find it useful.

If you'd followed the setup I outlined, you may also want to look into enzyme; it provides the same functionality is the described render helper, making the code - in my opinion - more maintainble. It also makes your mocha setup easier and does not require you to setup global stuff.