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

node-ffi-napi / ref-napi / 255 / 3
74%
master: 75%

Build:
Build:
LAST BUILD BRANCH: latest
DEFAULT BRANCH: master
Ran 28 Aug 2020 01:46PM UTC
Files 1
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

28 Aug 2020 01:45PM UTC coverage: 74.414% (-0.2%) from 74.63%
CXX=g++-4.9

push

travis-ci

web-flow
Rename bindings to prevent overflow in Jest

This is a fix for https://github.com/node-ffi-napi/ref-napi/issues/16, an issue that appears (especially in tests) when `writePointer` turns into an infinitely recursive call and overflows the stack.

This PR renames the native binding to already have the underscore to prevent the loop from ever being created.

This problem seems to surface mostly when using this library inside of Jest tests.

PR-URL: https://github.com/node-ffi-napi/ref-napi/pull/43
Fixes: https://github.com/node-ffi-napi/ref-napi/issues/16

88 of 143 branches covered (61.54%)

Branch coverage included in aggregate %.

261 of 326 relevant lines covered (80.06%)

9.8 hits per line

Source Files on job 255.3 (CXX=g++-4.9)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 221
  • Travis Job 255.3
  • a43eeb56 on github
  • Prev Job for CXX=g++-4.9 on latest (#252.1)
  • Next Job for CXX=g++-4.9 on latest (#259.1)
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