• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

qunitjs / qunit / 3043 / 6
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 2.x
DEFAULT BRANCH: main
Ran 22 Nov 2020 10:11PM UTC
Files 30
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Nov 2020 09:42PM UTC coverage: 89.478% (+0.009%) from 89.469%
NPM_SCRIPT=coveralls

push

travis-ci-com

Krinkle
Core: Count tests run so that 'suiteEnd' emits correctly with active filters

Previously, the `suiteEnd` event and the `moduleDone` callback
were fired when we've run all the tests, based on counting the
number of registered tests in a module and the number of tests
actually run.

This logic does not hold up when there are active module/test filters
used in the runner, because then some of the registered tests will
never run.

The added tests demonstrate the issue, as they will fail without
the src patch. Several of the `suiteEnd` events would not fire.

The impact of this bug was that the `suiteEnd` event and `moduleDone`
callback don't fire if there were active filters such as `--filters`
in the CLI or via the "Filter" field in the HTML Reporter.

This in turn meant that reporters such as TAP would sometimes
reflect the structure of the test suite in an odd way due to
it sometimes missing an "end" event for a group of tests.

Fixes https://github.com/qunitjs/qunit/issues/1416.
Closes https://github.com/qunitjs/qunit/pull/1417.

1165 of 1417 branches covered (82.22%)

2075 of 2319 relevant lines covered (89.48%)

353.49 hits per line

Source Files on job 3043.6 (NPM_SCRIPT=coveralls)
  • Tree
  • List 0
  • Changed 22
  • Source Changed 3
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2769
  • Travis Job 3043.6
  • f9ffdf50 on github
  • Prev Job for NPM_SCRIPT=coveralls on master (#3041.6)
  • Next Job for NPM_SCRIPT=coveralls on master (#3047.6)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc