tmcgee123/karma-spec-reporter

As a developer, when running tests on windows, I would like to see checkmarks

konsumer opened this issue · 5 comments

The ✔/✖ chars show up as boxes in CMD. Mocha got around this by using fallbacks of √ instead of ✔, × instead of ✖

test

Much thanks @konsumer, I will be getting to this soon.

Hey @konsumer, would you mind being my tester for me? I've pushed a branch that I'd like you to pull down (I'm not on a Windows machine currently). The branch is feature/windows-icons.

In case you haven't done that before, navigate to your node_modules directory and delete your existing karma-spec-reporter. Then:

git clone git@github.com:mlex/karma-spec-reporter.git -b feature/windows-icons --single-branch

Looks good! This is in standard CMD:
test

Thanks for the fast fix!

For others coming here from google, I also solved it by using ConEmu

Awesome! Now I just have to tackle the testing, unfortunately it involves some changes with mocking so working to resolve that (I'm used to Jasmine, Mocha is so strange).

Maybe not the best place to ask this question, but is there a way to turn off check marks when piping to a text file? They make the file appear to be a non-text file when loaded into Atlassian Crucible. Thanks!