Custom "collapse by default" code folding

Is there a way to make custom "collapse by default" code folding options? Specifically, I'm using JavaScript Karma unit tests which are written using nested function calls describe() and it(), and I want to collapse all it() blocks by default.

-Aaron

Please sign in to leave a comment.