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

pinojs / pino-pretty / 235
100%

Build:
DEFAULT BRANCH: master
Ran 15 Aug 2019 05:25PM UTC
Jobs 3
Files 5
Run time 17s
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
235

push

travis-ci

mcollina
Handle timestamp 0 in prettifyTime (#76)

When trying to format a log object like the following:

```json
{
  "level": 30,
  "time": 0,
  "name": "foobar",
  "msg": "I like cake",
  "v": 1
}
```

pino-pretty previously tried to format the timestamp `undefined` instead of
taking the `0` time. This commit looks not at the truthiness of the value, but
its existence.

148 of 150 branches covered (98.67%)

Branch coverage included in aggregate %.

8 of 8 new or added lines in 1 file covered. (100.0%)

199 of 199 relevant lines covered (100.0%)

89.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 235.1 15 Aug 2019 05:25PM UTC 0
99.43
Travis Job 235.1
2 235.2 15 Aug 2019 05:25PM UTC 0
99.43
Travis Job 235.2
3 235.3 15 Aug 2019 05:25PM UTC 0
99.43
Travis Job 235.3
Source Files on build 235
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #235
  • 7f19af0e on github
  • Prev Build on master (#211)
  • Next Build on master (#236)
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