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

jshint / jshint / 2740 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2017 10:07PM UTC
Files 13
Run time 1s
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

28 Nov 2017 09:53PM UTC coverage: 98.744% (+0.03%) from 98.719%
2740.2

push

travis-ci

rwaldron
[[TEST]] Refactor negative syntax tests for "rest"

Validate JSHint's behavior for various invalid applications of the
"rest" operator in isolation. In the previous factoring, the independent
syntax tests interacted and caused JSHint to report errors that differ
from those it would report when encountering each form in isolation.
Although JSHint makes a best-effort approach to recovering from invalid
syntax, this behavior is not formalized and should therefor not be
asserted by unit tests.

This factoring avoids the undesirable interaction, allowing the tests to
document JSHint's behavior under more predictable conditions. It also
highlights a previously-existing bug in the errors reported (as
documented via in-line code comments).

4009 of 4060 relevant lines covered (98.74%)

3586.38 hits per line

Source Files on job 2740.2
  • Tree
  • List 0
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2740
  • Travis Job 2740.2
  • 1297e4d6 on github
  • Prev Job for on master (#2739.1)
  • Next Job for on master (#2744.4)
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