mocaccino.js
mocaccino.js copied to clipboard
question: overwriting Base.symbols.dot
Here: https://github.com/mantoni/mocaccino.js/blob/master/lib/setup-browser.js#L14
and here: https://github.com/mantoni/mocaccino.js/blob/master/lib/setup-node.js#L12
Mocaccino overwrites Base.symbols.dot
. Why?
Because IE 11 somehow managed to show an empty dot report with the mocha default character. I’d be happy to remove this if there’s a better option.
That's probably better addressed by Mocha. But we don't test the dot reporter in the browser (until I started messing with it, anyway), so not surprised I'd never heard of this.
I tried to find the original issue but no luck, also not in Mochify. It’s been like this for a long time. It might have been a PhantomJS related issue that’s completely obsolete. I can run some tests tomorrow.
I can work around it for now by changing the value of dot
in our tests. no rush.
I ran some checks and cannot find any issues anymore. Works fine in IE 11 and Edge without overriding the symbol. Feel free to remove.