HTML automatically changes multiple whitespace characters into one single space.
This would lead to the following issue:
- There is no visual difference between one or two spaces, so I cannot see the difference between tests where I check if [backslash]+[space]+[space] is correctly trimmed to [backslash]+[space] and the check where I check if there is no modification of [backslash]+[space]
A solution would be to extend the function escapeInnerText with " " in both the regex and the switch
Not sure if this is a bug or intended in QUnit, however, if I have two tests, named 'abc' and 'abcdef' and I click "Rerun" on the first one, it'll also rerun the second test. I assume this is the case because 'abcdef' does contain 'abc'. However, it's not what I would expect when I click 'Rerun' for a single test.