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

zulip / zulip-mobile / 7784
65%

Build:
DEFAULT BRANCH: master
Ran 17 Dec 2018 09:55AM UTC
Jobs 1
Files 356
Run time 21s
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
7784

push

travis-ci

gnprice
flags: Revert `initialState` change; make type more specific.

In commit b82ef4d0d "flags: Fix bogus `initialState`" I completely
misread the FlagsState type; as the bit of test data there shows, I
thought it was saying it was a map from message IDs to maps from flag
names to booleans.  In fact it's the transpose of that, and the
`initialState` value we had was perfectly reasonable.

Revert that change; and make FlagsState explicit about what flags are
expected, to match.  This gives us type-checking for e.g.
`flags.starrred`, though any place we do `flags[foo]` sadly just turns
straight into `any` with current Flow.

Thanks to @jainkuniya for pointing out that commit was broken.

1404 of 2935 branches covered (47.84%)

Branch coverage included in aggregate %.

4859 of 6654 relevant lines covered (73.02%)

50.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7784.1 (COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv) 17 Dec 2018 09:55AM UTC 0
65.31
Travis Job 7784.1
Source Files on build 7784
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7784
  • b1c9859a on github
  • Prev Build on master (#7783)
  • Next Build on master (#7786)
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