From b4f49db6bd1d8d89de89eed8cd27bff5b8d79b2c Mon Sep 17 00:00:00 2001 From: slackersoft Date: Mon, 4 Aug 2014 12:48:35 -0700 Subject: [PATCH] Show a dot with color of pending spec when no expectations [fix #76307802] --- lib/jasmine-core/jasmine.css | 2 ++ src/html/_HTMLReporter.scss | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/lib/jasmine-core/jasmine.css b/lib/jasmine-core/jasmine.css index c54ff305..fb2afd13 100644 --- a/lib/jasmine-core/jasmine.css +++ b/lib/jasmine-core/jasmine.css @@ -23,6 +23,8 @@ body { overflow-y: scroll; } .jasmine_html-reporter .symbol-summary li.disabled:before { color: #bababa; content: "\02022"; } .jasmine_html-reporter .symbol-summary li.pending { line-height: 17px; } .jasmine_html-reporter .symbol-summary li.pending:before { color: #ba9d37; content: "*"; } +.jasmine_html-reporter .symbol-summary li.empty { font-size: 14px; } +.jasmine_html-reporter .symbol-summary li.empty:before { color: #ba9d37; content: "\02022"; } .jasmine_html-reporter .exceptions { color: #fff; float: right; margin-top: 5px; margin-right: 5px; } .jasmine_html-reporter .bar { line-height: 28px; font-size: 14px; display: block; color: #eee; } .jasmine_html-reporter .bar.failed { background-color: #ca3a11; } diff --git a/src/html/_HTMLReporter.scss b/src/html/_HTMLReporter.scss index d529cbd2..a481d7df 100644 --- a/src/html/_HTMLReporter.scss +++ b/src/html/_HTMLReporter.scss @@ -154,6 +154,15 @@ body { content: "*"; } } + + &.empty { + font-size: 14px; + + &:before { + color: $pending-color; + content: "\02022"; + } + } } }