Skip to content

Commit f8cce2b

Browse files
committed
HTML Reporter: Fix unexpected pointer cursor on "Source:" label
`#qunit-tests li strong` also applied to `#qunit-tests li .qunit-source strong` Cherry-picked from 52bfa69 (3.0.0-dev).
1 parent 61c2501 commit f8cce2b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/html-reporter/html.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ const stats = {
664664
}
665665

666666
let title = document.createElement('strong');
667+
title.className = 'qunit-test-name';
667668
title.innerHTML = getNameHtml(name, moduleName);
668669

669670
let testBlock = document.createElement('li');

src/qunit.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,11 @@
329329
margin: 0;
330330
}
331331

332-
#qunit-tests li strong {
332+
#qunit-tests li .qunit-test-name {
333333
cursor: pointer;
334334
}
335335

336-
#qunit-tests li.skipped strong {
336+
#qunit-tests li.skipped .qunit-test-name {
337337
cursor: default;
338338
}
339339

0 commit comments

Comments
 (0)