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

MarcScheib / legendsrising / 90
54%
master: 87%

Build:
Build:
LAST BUILD BRANCH: feature/nps
DEFAULT BRANCH: master
Ran 26 Dec 2015 11:27PM UTC
Jobs 1
Files 24
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

pending completion
90

push

travis-ci

MarcScheib
fix(news): display no news message on api unavailability

Display a message that no news are available if the api endpoint is not
available instead of failing the navigation and breaking the complete
page. Important for recents news on index page and news list and for
selected news.

Add test for news service.

---

 src/services/news/news-service.js             |   6 +-
 src/view-models/contents/index.js             |  10 +-
 src/view-models/news/index.js                 |   7 +-
 src/view-models/news/view.js                  |   2 +
 src/views/news/view.html                      |   8 +-
 test/unit/configuration/app.spec.js           | 132 -------------------
 test/unit/configuration/router-config.spec.js | 132 +++++++++++++++++++
 test/unit/modules/news.spec.js                |   2 +-
 test/unit/services/news.spec.js               |  83 ++++++++++++
 9 files changed, 242 insertions(+), 140 deletions(-)

62 of 161 relevant lines covered (38.51%)

1.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 90.1 26 Dec 2015 11:27PM UTC 0
38.51
Travis Job 90.1
Source Files on build 90
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #90
  • f9c2f953 on github
  • Prev Build on develop (#89)
  • Next Build on develop (#93)
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