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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/webpack-5.72.0
DEFAULT BRANCH: main
Ran 08 Jan 2018 06:54PM UTC
Jobs 3
Files 18
Run time 2min
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
81

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%)

129.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 81.1 08 Jan 2018 06:56PM UTC 0
100.0
Travis Job 81.1
2 81.2 08 Jan 2018 06:55PM UTC 0
100.0
Travis Job 81.2
3 81.3 08 Jan 2018 06:54PM UTC 0
100.0
Travis Job 81.3
Source Files on build 81
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #81
  • 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