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

bigeasy / cadence / 504 / 1
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 19 Sep 2014 04:06PM UTC
Files 3
Run time 3s
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

19 Sep 2014 03:52PM UTC coverage: 100.0%. Remained the same
504.1

push

travis-ci

bigeasy
Test that you can catch `undefined`.

Not sure what #160 was about. An error was being raised during a stack
overflow. I thought that causing a stack overflow would reproduce it but
everything seems to be fine.

The place where there would be errors now would be in the call to
`consume`, but that would mean that the previous errors where not an
array and that that value has been rethrown. I've added an assertion for
the next release to see if in any of my applications of Cadence, the
previous array of errors is not an array.

Oh, wait.

The problem is if the user throws `undefined`. Then the condition is
going to pass and the `uncaught` property will be sought in `undefined`.
I am able to reproduce the error, but I was wrong about how it was being
generated.

This commit adds tests for a stack overflow and throwing undefined.

Closes #218.

333 of 333 relevant lines covered (100.0%)

264.31 hits per line

Source Files on job 504.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 504
  • Travis Job 504.1
  • 12bc54e9 on github
  • Prev Job for on master (#503.1)
  • Next Job for on master (#505.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