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

unexpectedjs / unexpected-sinon / 219
91%
master: 95%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v11.1.0
DEFAULT BRANCH: master
Ran 22 Jan 2016 01:20PM UTC
Jobs 2
Files 1
Run time 28s
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
219

push

travis-ci

papandreou
Implemented new semantics for the 'was called with' assertion.

* Require an array to be passed instead of supporting varargs.
  In my opinion that is much clearer.
  Also, it gets rid of this annoying edge zero params case:
  `expect(spy, 'was called with');`

* Removed the 'exactly' flag -- always require an exact match.
  Since expect.it is supported, there are better ways of
  asserting only on a prefix of the argument list. If it turns out
  there's a clear enough use case, we can consider implementing
  a `was called with initial`, or we can add support for
  `<spy> was [always] called with <object>` so you can specify
  exactly which arguments via numerical properties.

This is, of course, a very breaking change, but I think we should rip off
the band-aid and do a major version bump. Most test suites that rely on
the old convention will be caught by the type system.

271 of 297 relevant lines covered (91.25%)

357.27 hits per line

Jobs
ID Job ID Ran Files Coverage
1 219.1 22 Jan 2016 01:20PM UTC 0
91.25
Travis Job 219.1
2 219.2 22 Jan 2016 01:20PM UTC 0
91.25
Travis Job 219.2
Source Files on build 219
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #219
  • 9bdef43b on github
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