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

u-wave / core / 11980470338

22 Nov 2024 09:32PM UTC coverage: 78.436% (-1.7%) from 80.16%
11980470338

Pull #637

github

goto-bus-stop
explicitly store UTC in sqlite
Pull Request #637: Switch to a relational database

757 of 915 branches covered (82.73%)

Branch coverage included in aggregate %.

1977 of 2768 new or added lines in 52 files covered. (71.42%)

9 existing lines in 7 files now uncovered.

8653 of 11082 relevant lines covered (78.08%)

70.79 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

© 2025 Coveralls, Inc