feat: html-reporter with spec duration
This commit is contained in:
@@ -523,6 +523,11 @@ jasmineRequire.HtmlReporter = function(j$) {
|
||||
'a',
|
||||
{ href: specHref(resultNode.result) },
|
||||
specDescription
|
||||
),
|
||||
createDom(
|
||||
'span',
|
||||
{ className: 'jasmine-spec-duration' },
|
||||
'(' + resultNode.result.duration + 'ms)'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
@@ -331,6 +331,10 @@ body {
|
||||
&.jasmine-excluded a:before {
|
||||
content: $passing-mark + $space;
|
||||
}
|
||||
|
||||
.jasmine-spec-duration {
|
||||
margin-left: $margin-unit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user