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

istanbuljs / nyc / 1228
100%

Build:
DEFAULT BRANCH: master
Ran 17 Jan 2017 12:03AM UTC
Jobs 5
Files 2
Run time 6min
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
1228

Pull #490

travis-ci

web-flow
Allow eager instantiation of instrumenter

Some mocking libraries hook require and warn when there is a required
module which has not been explicitly registered (e.g. mockery).  It is
standard procedure to enable these mock hooks in a unit test prior to
requiring the code under test.

With lazy instantiation of the instrumenter, all of the instrumenter
library's `require`s generate warnings at test time.

This change adds an `--eager` option to nyc which forces instantiation
of the instrumentation library prior to walking any of the files, thus
eliminating any warnings from mockery.
Pull Request #490: Allow eager instantiation of instrumenter

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

324 of 339 relevant lines covered (95.58%)

3016.52 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
index.js
Jobs
ID Job ID Ran Files Coverage
1 1228.1 17 Jan 2017 12:07AM UTC 0
95.58
Travis Job 1228.1
2 1228.2 17 Jan 2017 12:04AM UTC 0
95.58
Travis Job 1228.2
3 1228.3 17 Jan 2017 12:10AM UTC 0
95.58
Travis Job 1228.3
4 1228.4 17 Jan 2017 12:10AM UTC 0
95.58
Travis Job 1228.4
5 1228.5 17 Jan 2017 12:03AM UTC 0
95.58
Travis Job 1228.5
Source Files on build 1228
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1228
  • Pull Request #490
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