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

qunitjs / qunit / 9451007881
90%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2024 03:17PM UTC
Jobs 1
Files 33
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

10 Jun 2024 03:16PM UTC coverage: 58.712% (+0.04%) from 58.671%
9451007881

push

github

web-flow
Core: Disalllow passing async/promise-returning function as QUnit.module callback

Throw an Error when a module callback has a promise as a return value.

Error early if module callback is an `async function` to avoid its tests from being defined as part of other modules.

Update tests:
* rename CLI test async-module-warning to async-module-error
* rename CLI test async-module-warning-promise to async-module-error-promise
* add main test to verify at runtime (use then-able syntax instead of Promise/async for IE11 compat).

Ref https://github.com/qunitjs/qunit/issues/1600.
Closes https://github.com/qunitjs/qunit/pull/1761.

3 of 3 new or added lines in 2 files covered. (100.0%)

1203 of 2049 relevant lines covered (58.71%)

91.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9451007881.1 15 Apr 56412 09:58AM UTC 0
58.71
GitHub Action Run
Source Files on build 9451007881
Detailed source file information is not available for this build.
  • Back to Repo
  • bad99f96 on github
  • Prev Build on cleanup (#9449827430)
  • Next Build on main (#9455756673)
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