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

qunitjs / qunit / 9244492907
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 2.x
DEFAULT BRANCH: main
Ran 26 May 2024 03:56PM 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 03:54PM UTC coverage: 88.691% (-0.02%) from 88.712%
9244492907

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%)

1 existing line in 1 file now uncovered.

1843 of 2078 relevant lines covered (88.69%)

2137.04 hits per line

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