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

tapjs / signal-exit / 97 / 3
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 13 May 2016 09:28PM UTC
Files 2
Run time 0s
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

13 May 2016 09:20PM UTC coverage: 96.429%. Remained the same
97.3

push

travis-ci

isaacs
Don't listen for SIGPIPE

SIGPIPE normally doesn't cause node to exit [1]. However, by registering
and unregistering a "SIGPIPE" event handler, the behavior changes and
node starts exiting when receiving SIGPIPE signals.

Because signal-exit listens for SIGPIPE, it causes programs to exit
when receiving SIGPIPE, whereas normally node programs not using
signal-exit should not exit when receiving SIGPIPE.

This changes signal-exit to not listen for SIGPIPE and tests that a
program using signal-exit will not exit due to SIGPIPE signals. The test
uses an existing test fixture (test/fixtures/sigpipe.js) that was not
previously being used.

See also https://github.com/tapjs/signal-exit/issues/19.

[1] https://github.com/nodejs/node/blame/44aba1ab1/doc/api/process.markdown#L243

81 of 84 relevant lines covered (96.43%)

206.07 hits per line

Source Files on job 97.3
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 97
  • Travis Job 97.3
  • 100163ae on github
  • Prev Job for on master (#95.3)
  • Next Job for on master (#105.2)
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