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

gajus / table / 142
100%

Build:
DEFAULT BRANCH: master
Ran 11 Jan 2019 05:26PM UTC
Jobs 3
Files 21
Run time 3min
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
142

push

travis-ci

gajus
feat: add support for wrapping with newlines (#88)

* Add support for wrapping with newlines

It can be useful to more accurately control formatting in table cells by
means of inserting newlines. For example, we can now put bulleted lists
or pretty-printed JSON objects in table cells.

This change makes it so that any '\n' characters encountered in the
cell's values will be translated into line breaks.

Implementation note: the cell wrapping logic that used to be duplicated
between `mapDataUsingRowHeightIndex` and `calculateCellHeight` has been
moved to `wrapCell` to be shared between them.

* Add test with color coding

* More readable way to write ANSI test

65 of 87 branches covered (74.71%)

Branch coverage included in aggregate %.

12 of 12 new or added lines in 3 files covered. (100.0%)

166 of 227 relevant lines covered (73.13%)

16.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 142.1 11 Jan 2019 05:30PM UTC 0
73.57
Travis Job 142.1
2 142.2 11 Jan 2019 05:26PM UTC 0
73.57
Travis Job 142.2
3 142.3 11 Jan 2019 05:29PM UTC 0
73.57
Travis Job 142.3
Source Files on build 142
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #142
  • 3d1d8b95 on github
  • Prev Build on master (#137)
  • Next Build on master (#145)
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