When serving test suites from a URL like localhost:4000/test/index.html, QUnit's stack trace cleaner doesn't work. This falls back gracefully to showing the full stack trace, but we could do better here.
Example from the MediaWiki VisualEditor test suite:
When serving test suites from a URL like
localhost:4000/test/index.html
, QUnit's stack trace cleaner doesn't work. This falls back gracefully to showing the full stack trace, but we could do better here.Example from the MediaWiki VisualEditor test suite:
This affects both the HTML Reporter and the TAP Reporter (QUnit CLI) alike. It's shared code, exposed via testEnd event data to reporters.
The bottom half should have been trimmed off by the stacktrace cleaner.