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

helpscout / cyan / 38
100%

Build:
DEFAULT BRANCH: master
Ran 19 Apr 2019 02:38AM UTC
Jobs 1
Files 33
Run time 2s
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
38

push

travis-ci

ItsJonQ
Improve Mock Promise. Add additonal promise mocking API

This update improves the Mock Promise class by implementing a (slightly
modified) Promise polyfill, complete with Promise.all and then, catch,
and finally.

This update also adds a "promise queue" with a promise resolving middleware.

This allows the user to use 2 new `cy` APIs:

`cy.forceAllPromisesToReject` and `cy.forceAllPromisesToResolve`

When `cy.useFakePromises` is instantiated, the user can force all Promises
to eithe resolve or reject. The value/reason can also be modified by passing
a callback function to either methods.

54 of 54 branches covered (100.0%)

Branch coverage included in aggregate %.

316 of 316 relevant lines covered (100.0%)

59.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38.1 19 Apr 2019 02:38AM UTC 0
100.0
Travis Job 38.1
Source Files on build 38
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #38
  • e909bd87 on github
  • Prev Build on master (#37)
  • Next Build on master (#39)
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