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

optimizely / javascript-sdk / 1250 / 10
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 10 Feb 2020 09:06PM UTC
Files 60
Run time 9s
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

10 Feb 2020 08:56PM UTC coverage: 97.559% (+0.1%) from 97.415%
1250.10

push

travis-ci

web-flow
chore(notification_center)[OASIS-5764]: Add all unit tests for the notification_center module (#392)

Summary:
- The notification_center module did not have a unit test associated with it.
- This PR addresses that to ensure 100% coverage of this module.

Test plan:
addNotificationListener
- only valid listener types should have listeners registered
- the listenerId should be returned upon successful registration
- cannot register the same callback twice
removeNotificationListener
- should return true if the listener is successfully removed
- should only remove the specified listener using the listenerId
clearAllNotificationListeners
- should remove all listeners of all types
clearNotificationListeners
- should remove only the specified notification type when there are no listeners registered
- should remove only the specified notification type and leave all other notification type listeners still registered
sendNotifications
- checks that each notification type listeners executes the callback with the passed in notification data from the user

Issues
- Addresses OASIS-5764 (https://optimizely.atlassian.net/browse/OASIS-5764)

638 of 703 branches covered (90.75%)

Branch coverage included in aggregate %.

7036 of 7163 relevant lines covered (98.23%)

22.33 hits per line

Source Files on job 1250.10
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 951
  • Travis Job 1250.10
  • 10ce0033 on github
  • Prev Job for on master (#1240.2)
  • Next Job for on master (#1253.3)
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