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

share / sharedb / 870
96%
master: 97%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/checkout-6
DEFAULT BRANCH: master
Ran 30 Aug 2018 09:06AM UTC
Jobs 3
Files 24
Run time 1min
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
870

Pull #244

travis-ci

web-flow
Improve test coverage for `SnapshotRequest.onConnectionStateChanged`

This change improves `SnapshotRequest` test coverage to 100%.

Our current test for checking that a dropped connection works didn't
actually fail properly when removing `this.sent = false` from
`SnapshotRequest._onConnectionStateChanged`, so an improved test has
been written that use middleware to wait until the request has
definitely been sent, before dropping the connection and reconnecting.

It also adds a previously uncovered test case for checking that the
connection cannot send the same request multiple times, by using a
similar setup to the rewritten dropped connection case.

This change also adds some documentation recording why we might want to
reset `this.sent = false`, because just looking at the code it's
unclear why we would ever want to do that.
Pull Request #244: Add a `NoOpMilestoneDB` implementation

1089 of 1309 branches covered (83.19%)

40 of 40 new or added lines in 6 files covered. (100.0%)

2293 of 2400 relevant lines covered (95.54%)

401.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 870.1 30 Aug 2018 09:06AM UTC 0
95.54
Travis Job 870.1
2 870.2 30 Aug 2018 09:06AM UTC 0
95.54
Travis Job 870.2
3 870.3 30 Aug 2018 09:07AM UTC 0
95.54
Travis Job 870.3
Source Files on build 870
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #870
  • Pull Request #244
  • PR Base - master (#850)
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