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

gajus / table / 143
74%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/babel/traverse-7.26.3
DEFAULT BRANCH: master
Ran 11 Jan 2019 05:28PM UTC
Jobs 3
Files 21
Run time 1min
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
143

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 %.

166 of 227 relevant lines covered (73.13%)

16.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 143.1 11 Jan 2019 05:28PM UTC 0
73.57
Travis Job 143.1
2 143.2 11 Jan 2019 05:28PM UTC 0
73.57
Travis Job 143.2
3 143.3 11 Jan 2019 05:29PM UTC 0
73.57
Travis Job 143.3
Source Files on build 143
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #143
  • 3d1d8b95 on github
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

© 2025 Coveralls, Inc