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

qunitjs / qunit / 9245673964
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 2.x
DEFAULT BRANCH: main
Ran 26 May 2024 07:27PM UTC
Jobs 1
Files 34
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

26 May 2024 06:22PM UTC coverage: 88.691%. Remained the same
9245673964

push

github

Krinkle
Core: Deprecate unset timeout for tests taking longer than 3 seconds

Up until now, QUnit has not defined or enforced any default timeout.
This means if your test timed out or got stuck, this would be silent
and could (depending on how you run/integrate your tests) be hard to
find the cause of, and might take a long time to even detect as it
would be subject to a higher-level timeout (e.g. some kind of maximum
process time or CI limit).

In QUnit 3.0, the default timeout will change from undefined
(effectively Infinity) to 3 seconds. This only effects you if you
* do not have `QUnit.config.testTimeout` set,
* and, have one or more tests exceeding 3 seconds,
* and, are not calling `assert.timeout()` inside this test.

Starting in QUnit 2.21, a deprecation warning will be logged, at most
once per test run, if you have no timeout defined, and a test takes
longer than 3 seconds. You can prepare yourself for QUnit 3 when this
happens by calling `assert.timeout()` inside those tests, or by
setting `QUnit.config.testTimeout` globally with a higher timeout
as-needed.

5 of 5 new or added lines in 1 file covered. (100.0%)

6 existing lines in 2 files now uncovered.

1843 of 2078 relevant lines covered (88.69%)

2137.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9245673964.1 11 Sep 56371 09:17PM UTC 0
88.69
GitHub Action Run
Source Files on build 9245673964
Detailed source file information is not available for this build.
  • Back to Repo
  • 448e9763 on github
  • Prev Build on depr-no-timeout (#9244492907)
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