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

mozilla / blurts-server / #13220

pending completion
#13220

push

circleci

jswinarton
Monitor premium scaffold

282 of 1633 branches covered (17.27%)

Branch coverage included in aggregate %.

19 of 19 new or added lines in 4 files covered. (100.0%)

959 of 4394 relevant lines covered (21.83%)

1.82 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/utils/subscriber.js
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4

5
function isSubscribed (user) {
6
  // TODO 'monitor' should be a constant not hardcoded
7
  console.log(user)
×
8
  return (
×
9
    user.fxa_profile_json.subscriptions &&
×
10
    user.fxa_profile_json.subscriptions.includes('monitor')
11
  )
12
}
13

14
export { isSubscribed }
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