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

npr / npr-one-api-js-sdk / 81 / 1
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/webpack-5.72.0
DEFAULT BRANCH: main
Ran 08 Jan 2018 06:56PM UTC
Files 18
Run time 1s
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

08 Jan 2018 06:50PM UTC coverage: 100.0%. First build
81.1

push

travis-ci

xiehan
fix(index): Avoid syntax that is too clever

Our Angular app's build optimizer is failing to produce a working production build, breaking on [line 90](https://githu
b.com/npr/npr-one-api-js-sdk/blob/v2.0.0/src/index.js#L90) saying `NprOneSDK._config` is null/undefined. While I'm not p
ositive, I suspect we were being too clever in the way we were trying to initialize the config by just calling `NprOneSD
K.config` (the getter) without assigning it to a variable, which confuses Angular's build optimizer and potentially drop
ped the getter as unused code.

763 of 763 relevant lines covered (100.0%)

43.3 hits per line

Source Files on job 81.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 81
  • Travis Job 81.1
  • febfdffe on github
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