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

qunitjs / qunit / 10551227596 / 1
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 26 Aug 2024 12:14AM UTC
Files 38
Run time 0s
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 Aug 2024 12:09AM UTC coverage: 90.353%. Remained the same
10551227596.1

push

github

Krinkle
Build: Refactor QUnit.start() definition to inject self-reference

Follows-up 05e15baa332ca, which made this into a factory function,
but that has the downside of making the QUnit object not defined in
one object literal, which makes a few other things reasier to reason
about.

In a way, it's more honest to say that start is the product of a
factory function, but I'd prefer to maintain the simplicity of an
uncoupled literal declaration the entire API, in particular in prep
for native ESM export (ref https://github.com/qunitjs/qunit/issues/1551).

I'll accept in return the internal responsiblity to not call start()
"incorrectly" (i.e. before it is ready). This responsibility does not
leak into, complicate, break, or otherwise change the public API, and
is mitigated by a runtime detection, for the benefit of future
contributors and maintainers to QUnit.

1845 of 2042 relevant lines covered (90.35%)

3538.45 hits per line

Source Files on job 10551227596.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10551227596
  • 112dacc6 on github
  • Prev Job for on main (#10550906014.1)
  • Next Job for on main (#10552488254.1)
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