@@ -65,8 +65,6 @@ jasmineRequire.HtmlReporter = function(j$) {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
getContainer().appendChild(htmlReporterMain);
|
getContainer().appendChild(htmlReporterMain);
|
||||||
|
|
||||||
symbols = find('.jasmine-symbol-summary');
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var totalSpecsDefined;
|
var totalSpecsDefined;
|
||||||
@@ -111,6 +109,10 @@ jasmineRequire.HtmlReporter = function(j$) {
|
|||||||
specsExecuted++;
|
specsExecuted++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!symbols){
|
||||||
|
symbols = find('.jasmine-symbol-summary');
|
||||||
|
}
|
||||||
|
|
||||||
symbols.appendChild(createDom('li', {
|
symbols.appendChild(createDom('li', {
|
||||||
className: noExpectations(result) ? 'jasmine-empty' : 'jasmine-' + result.status,
|
className: noExpectations(result) ? 'jasmine-empty' : 'jasmine-' + result.status,
|
||||||
id: 'spec_' + result.id,
|
id: 'spec_' + result.id,
|
||||||
|
|||||||
@@ -36,8 +36,6 @@ jasmineRequire.HtmlReporter = function(j$) {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
getContainer().appendChild(htmlReporterMain);
|
getContainer().appendChild(htmlReporterMain);
|
||||||
|
|
||||||
symbols = find('.jasmine-symbol-summary');
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var totalSpecsDefined;
|
var totalSpecsDefined;
|
||||||
@@ -82,6 +80,10 @@ jasmineRequire.HtmlReporter = function(j$) {
|
|||||||
specsExecuted++;
|
specsExecuted++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!symbols){
|
||||||
|
symbols = find('.jasmine-symbol-summary');
|
||||||
|
}
|
||||||
|
|
||||||
symbols.appendChild(createDom('li', {
|
symbols.appendChild(createDom('li', {
|
||||||
className: noExpectations(result) ? 'jasmine-empty' : 'jasmine-' + result.status,
|
className: noExpectations(result) ? 'jasmine-empty' : 'jasmine-' + result.status,
|
||||||
id: 'spec_' + result.id,
|
id: 'spec_' + result.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user