scottaj / mocha.el

Emacs mode for running mocha tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support other reporters

rejeep opened this issue · comments

I can see that only the dot-reporter is supported. I had issues with CSI ansi codes when I wrote my mocha-mode as well. It's pretty easy to get around that though by something like this:

(save-excursion
    (replace-regexp "\\[[0-9]+[a-z]" "" nil (point-min) (point-max)))

(edit the post to see the exact code)

Creating this issue here as a reminder.

Closing via #31