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

u-wave / core / 11166076478

03 Oct 2024 04:42PM UTC coverage: 78.708% (-1.4%) from 80.131%
11166076478

Pull #637

github

goto-bus-stop
Remove mongo from tests
Pull Request #637: Switch to a relational database, closes #549

734 of 894 branches covered (82.1%)

Branch coverage included in aggregate %.

1874 of 2561 new or added lines in 51 files covered. (73.17%)

11 existing lines in 6 files now uncovered.

8622 of 10993 relevant lines covered (78.43%)

70.85 hits per line

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

41.18
/src/utils/removeFromWaitlist.js
1
/**
1✔
2
 * @param {import('../Uwave.js').default} uw
1✔
3
 * @param {import('../schema.js').UserID} userID
1✔
4
 */
1✔
5
async function removeFromWaitlist(uw, userID) {
×
NEW
6
  const waitingIDs = await uw.waitlist.getUserIDs();
×
NEW
7
  if (waitingIDs.includes(userID)) {
×
NEW
8
    await uw.redis.lrem('waitlist', 0, userID);
×
9
    uw.publish('waitlist:leave', {
×
NEW
10
      userID,
×
NEW
11
      waitlist: await uw.waitlist.getUserIDs(),
×
12
    });
×
13
  }
×
14
}
×
15

1✔
16
export default removeFromWaitlist;
1✔
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