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

zulip / zulip-mobile / 4089
65%

Build:
DEFAULT BRANCH: master
Ran 08 Jan 2019 10:29PM UTC
Jobs 1
Files 365
Run time 2min
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
4089

push

travis-ci

gnprice
actionTypes: Fix intersections in event types.

These are nearly the last intersection types in the codebase.  Replace
them with object spreads, and also make these object types exact.

Done automatically.  First, replaced intersections with spreads by
using the codemod script introduced in the parent commit, along with
a bit of post-processing for its rather hilarious failure mode:

  jscodeshift -t tools/codemod/intersection-to-spread.js \
    src/actionTypes.js
  perl -i -0pe 's/type type/type/g' src/actionTypes.js

Then made the object types exact, the lower-tech way -- reused the
command from 9c1898242 and some earlier commits, just limiting it
to this file:

  perl -i -0pe \
    's/^((?:export )?type \S+ = \{)(\n.*?\n)?(\};)/$1|$2|$3/msg' \
    src/actionTypes.js

1399 of 2897 branches covered (48.29%)

Branch coverage included in aggregate %.

4966 of 6713 relevant lines covered (73.98%)

16.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4089.1 (COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv) 08 Jan 2019 10:29PM UTC 0
66.23
Travis Job 4089.1
Source Files on build 4089
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4089
  • 47365203 on github
  • Prev Build on master (#7999)
  • Next Build on master (#8008)
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