Renamed the trace feature to debugLog[s]

"trace" was ambiguous and could easily be understood to have something
to do with stack traces.
This commit is contained in:
Steve Gravrock
2021-12-02 14:46:56 -08:00
parent 5eb42d67a7
commit 40fac8b6a2
12 changed files with 97 additions and 117 deletions

View File

@@ -405,17 +405,17 @@ jasmineRequire.HtmlReporter = function(j$) {
);
}
if (result.trace) {
messages.appendChild(traceTable(result.trace));
if (result.debugLogs) {
messages.appendChild(debugLogTable(result.debugLogs));
}
return failure;
}
function traceTable(trace) {
function debugLogTable(debugLogs) {
var tbody = createDom('tbody');
trace.forEach(function(entry) {
debugLogs.forEach(function(entry) {
tbody.appendChild(
createDom(
'tr',
@@ -428,11 +428,11 @@ jasmineRequire.HtmlReporter = function(j$) {
return createDom(
'div',
{ className: 'jasmine-trace' },
{ className: 'jasmine-debug-log' },
createDom(
'div',
{ className: 'jasmine-trace-header' },
'Trace information'
{ className: 'jasmine-debug-log-header' },
'Debug logs'
),
createDom(
'table',