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

qunitjs / qunit / 9824423034
90%

Build:
DEFAULT BRANCH: main
Ran 07 Jul 2024 03:59AM UTC
Jobs 1
Files 37
Run time 1min
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

07 Jul 2024 03:53AM UTC coverage: 89.008% (+0.05%) from 88.959%
9824423034

push

github

Krinkle
Core: Fix infinite loop crash when mixing test.only() with module.only()

I noticed that the first branch of `addOnlyTest()` was uncovered in
test coverage reports. In expanding the `only-module-then-test.js`
fixture to cover this (by adding a late test.only call), which
was originally added in https://github.com/qunitjs/qunit/pull/1658.

I decided to also add an early test.only call to see what would happen.
The outcome is irrelevant/ambigious, but it seemed worth observing.
To my surprise, it created an infinite loop.

This further convinces me that we should make "early errors" show
up in the HTML Reporter (TODO added in 37f6e4b6613), and subsequently
get rid of this re-entry hack. The TapReporter and QUnit CLI are
already able to render early errors. The HtmlReporter not yet. It's
not generally a priority imho, but, because "No tests" is a common
scenario, if we utilize an early error to report it, that makes it
a priority to support in HtmlReporter as otherwise there'd be no
visible feedback for it. It's okay to have to pop open devtools when
causing an early syntax error or something like that in your own code,
but when using the UI to match no tests, there should at least be
some kind of visible feedback and not a blank page.

1830 of 2056 relevant lines covered (89.01%)

2137.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9824423034.1 02 Dec 56484 11:23AM UTC 0
89.01
GitHub Action Run
Source Files on build 9824423034
Detailed source file information is not available for this build.
  • Back to Repo
  • 99aee51a on github
  • Prev Build on main (#9823737208)
  • Next Build on main (#9832199395)
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