mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Subtract skipped count from complete and total counts
This commit is contained in:
@@ -84,8 +84,10 @@ class AtomReporter extends View
|
||||
if @failedCount > 0
|
||||
@status.addClass('failed') unless @status.hasClass('failed')
|
||||
|
||||
specCount = "#{@completeSpecCount}/#{@totalSpecCount}"
|
||||
specCount += " (skipping #{@skippedCount})" if @skippedCount
|
||||
if @skippedCount
|
||||
specCount = "#{@completeSpecCount - @skippedCount}/#{@totalSpecCount - @skippedCount} (#{@skippedCount} skipped)"
|
||||
else
|
||||
specCount = "#{@completeSpecCount}/#{@totalSpecCount}"
|
||||
@specCount.text specCount
|
||||
|
||||
rootSuite = spec.suite
|
||||
|
||||
Reference in New Issue
Block a user