HTML reporter: show debug logs with white-space: pre

This commit is contained in:
Steve Gravrock
2024-06-22 11:24:56 -07:00
parent c3960c4a96
commit ba7560f65e
5 changed files with 19 additions and 2 deletions

View File

@@ -430,7 +430,11 @@ jasmineRequire.HtmlReporter = function(j$) {
'tr',
{},
createDom('td', {}, entry.timestamp.toString()),
createDom('td', {}, entry.message)
createDom(
'td',
{ className: 'jasmine-debug-log-msg' },
entry.message
)
)
);
});