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

bigeasy / cadence / 504
92%

Build:
DEFAULT BRANCH: master
Ran 19 Sep 2014 04:06PM UTC
Jobs 1
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

pending completion
504

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

Jobs
ID Job ID Ran Files Coverage
1 504.1 19 Sep 2014 04:06PM UTC 0
100.0
Travis Job 504.1
Source Files on build 504
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #504
  • 12bc54e9 on github
  • Prev Build on master (#503)
  • Next Build on master (#505)
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