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

npr / npr-one-api-js-sdk / 83
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
Jobs 3
Files 18
Run time 29min
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
83

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

129.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 83.1 08 Jan 2018 08:01PM UTC 0
100.0
Travis Job 83.1
2 83.2 08 Jan 2018 07:37PM UTC 0
100.0
Travis Job 83.2
3 83.3 08 Jan 2018 07:38PM UTC 0
100.0
Travis Job 83.3
Source Files on build 83
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #83
  • a81a1860 on github
  • Prev Build on master (#78)
  • Next Build on master (#84)
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