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

npr / npr-one-api-js-sdk / 83 / 2
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/webpack-5.72.0
DEFAULT BRANCH: main
Ran 08 Jan 2018 07:37PM 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 07:33PM UTC coverage: 100.0%. Remained the same
83.2

push

travis-ci

web-flow
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://github.com/npr/npr-one-api-js-sdk/blob/v2.0.0/src/index.js#L90) saying `NprOneSDK._config` is null/undefined. It turns out we were being too clever in the way we were trying to initialize the config by just calling `NprOneSDK.config` (the getter) without assigning it to a variable, which confuses Angular's build optimizer and dropped the getter as unused code.

763 of 763 relevant lines covered (100.0%)

43.3 hits per line

Source Files on job 83.2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 83
  • Travis Job 83.2
  • a81a1860 on github
  • Prev Job for on master (#78.1)
  • Next Job for on master (#84.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