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

alkem-io / client-web / #9048

11 Oct 2024 01:42PM UTC coverage: 5.943%. First build
#9048

Pull #7022

travis-ci

Pull Request #7022: [v0.74.0] Roles API + Unauthenticated Explore page

202 of 10241 branches covered (1.97%)

Branch coverage included in aggregate %.

63 of 431 new or added lines in 60 files covered. (14.62%)

1468 of 17861 relevant lines covered (8.22%)

0.19 hits per line

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

0.0
/src/core/utils/array.shuffle.ts
NEW
1
export const arrayShuffle = <T>(array: T[]): T[] => {
×
NEW
2
  const shuffledArray = array.slice(); // Create a copy of the array
×
NEW
3
  for (let i = shuffledArray.length - 1; i > 0; i--) {
×
NEW
4
    const j = Math.floor(Math.random() * (i + 1));
×
NEW
5
    [shuffledArray[i], shuffledArray[j]] = [shuffledArray[j], shuffledArray[i]];
×
6
  }
NEW
7
  return shuffledArray;
×
8
};
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