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

zulip / zulip-mobile / 7733
65%

Build:
DEFAULT BRANCH: master
Ran 12 Dec 2018 02:11AM UTC
Jobs 1
Files 358
Run time 31s
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
7733

push

travis-ci

gnprice
InputWithClearButton: Pass all props to Input again, but explicitly.

Similar story to 960d9ae67 for PasswordInput: we'd recently (in
33f532841) replaced a `{...this.props}` in the `<Input ... />`
with explicitly mentioning the two props that the type annotation
allowed for this component... but in fact the one call site of
this component passed a number of other props as well!  When they
were no longer passed through to `Input`, that caused the search
box to look quite odd and its interaction to not feel right.

Like 960d9ae67, fix this two ways: pass all props through,
and say that in the types and jsdoc rather than asserting
the component takes just two of the props it actually takes.
Follow the subsequent commit 115655cd1 in disallowing the props
we override, too.

Fix a type error this turns up (because the new props type
is exact): we were passing a `textInputRef` that gets
totally ignored.

Also adjust our use of `onChangeText` to allow it to be
optional; that's how it is in the underlying component, it
seems like clearly the preferable API, and it's just as easy
to fix it as to munge the type to make it idiosyncratically
required here.

1403 of 2934 branches covered (47.82%)

Branch coverage included in aggregate %.

4865 of 6665 relevant lines covered (72.99%)

50.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7733.1 (COVERALLS_REPO_TOKEN=4eYQDtWoBJlDz2QkxoQ2UcnmJFcOB7zkv) 12 Dec 2018 02:11AM UTC 0
65.3
Travis Job 7733.1
Source Files on build 7733
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7733
  • 84030dd4 on github
  • Prev Build on master (#3927)
  • Next Build on master (#7734)
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