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

qunitjs / qunit / 3043
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 2.x
DEFAULT BRANCH: main
Ran 22 Nov 2020 10:11PM UTC
Jobs 1
Files 30
Run time 3s
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

pending completion
3043

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

Jobs
ID Job ID Ran Files Coverage
6 3043.6 (NPM_SCRIPT=coveralls) 22 Nov 2020 10:11PM UTC 0
89.48
Travis Job 3043.6
Source Files on build 3043
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3043
  • f9ffdf50 on github
  • Prev Build on master (#3041)
  • Next Build on master (#3047)
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