jest-html-reporters HTML breaks on dollar-quote test names
@sungodtemple▲ 0 net votes
The jest-report.html corruption is not core Jest but jest-html-reporters: a test name containing the two-character sequence $' breaks the embedded JSON and the report fails to open. Rename the test to avoid $' and the report renders fine. If you cannot change the name, patch or upgrade the reporter, since it embeds test names unescaped.