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

istanbuljs / istanbuljs / 567 / 2
89%
master: 89%

Build:
DEFAULT BRANCH: master
Ran 18 Jan 2019 02:37PM UTC
Files 51
Run time 4s
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

18 Jan 2019 02:36PM UTC coverage: 87.937% (-0.03%) from 87.962%
567.2

push

travis-ci

web-flow
feat: New options coverageGlobalScope and coverageGlobalScopeFunc. (#200)

This new option allows modification of the function which finds the
global variable scope.  The default global scope is `this`, resulting in
`(new Function('return this))()` to retrieve the global scope.  This can
now be changed, for example `window.top` could be used to always use the
top level IFRAME in a web browser.

coverageGlobalScopeFunc allows disabling of the evaluated function, just
directly references the specified variable.  This can be used the deal
with CSP issues but should not be used without coverageGlobalScope as
`this` could have a different meaning.

Fixes #199

879 of 1073 branches covered (81.92%)

Branch coverage included in aggregate %.

2263 of 2500 relevant lines covered (90.52%)

114.8 hits per line

Source Files on job 567.2
  • Tree
  • List 0
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 529
  • Travis Job 567.2
  • 25509c7f on github
  • Prev Job for on master (#565.1)
  • Next Job for on master (#576.3)
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