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

helpscout / cyan / 38 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 19 Apr 2019 02:38AM UTC
Files 33
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

19 Apr 2019 02:32AM UTC coverage: 100.0%. Remained the same
38.1

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

Source Files on job 38.1
  • Tree
  • List 0
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 34
  • Travis Job 38.1
  • e909bd87 on github
  • Prev Job for on master (#37.1)
  • Next Job for on master (#39.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