Unit tests for code folding


Anyone know of a package that has good tests of code folding functionality / behavior? Is there a way to set the virtual view ports so that all the screen api calls return as they would at certain dimensions / scrolls? I noticed go-to-line does not open folds.


Oops. I ended up getting it to work with editor.foldCurrentRow(). It was an ordering issue, I had to reinitialize my text fixture, I’ll edit this post later when it’s in the master branch for anyone else’s future reference.