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

zulip / zulip-mobile / 6793
47%

Build:
DEFAULT BRANCH: master
Ran 06 Sep 2018 01:39AM UTC
Jobs 1
Files 363
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
6793

push

travis-ci

gnprice
message list: Give a real type to the exported MessageList.

By annotating the argument to `connect`, we enable Flow to infer the
type of its return value -- aka `MessageList`, as seen by the rest of
the code -- and type-check call sites.

The repetition is unfortunate and I'd be glad to find a way to avoid
it.  I tried `Props = OuterProps & { /* ... */ }`, but unfortunately
that left Flow still thinking that `anchor`, `fetching`, etc. could be
missing because they could in `OuterProps`.  This is much better than
not having types, though.

Also, because `connectActionSheet` lacks a type annotation, the
relationship *between* `OuterProps` and `Props`, and the code that
(*ahem*) connects them, isn't checked.  That'd be good to fix.

We abuse this `Props` type in a lot of places where we really mean
some other type that merely overlaps, and that contributes to some
mysteries still to be resolved here.  I cleared up one --
`highlightUnreadMessages` just never appears in something claiming to
use this type -- but a few others are marked with comments.

1016 of 2105 branches covered (48.27%)

Branch coverage included in aggregate %.

1953 of 3791 relevant lines covered (51.52%)

43.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6793.1 (COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv) 06 Sep 2018 01:39AM UTC 0
50.36
Travis Job 6793.1
Source Files on build 6793
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6793
  • 3168ff5c on github
  • Prev Build on master (#3416)
  • Next Build on master (#6794)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc