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

humanspeak / svelte-headless-table / 12913219917

22 Jan 2025 04:59PM UTC coverage: 59.766%. First build
12913219917

push

github

jaysin586
Rolling it way back

404 of 483 branches covered (83.64%)

Branch coverage included in aggregate %.

2232 of 3955 new or added lines in 55 files covered. (56.43%)

2616 of 4570 relevant lines covered (57.24%)

34.43 hits per line

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

85.71
/src/lib/utils/array.ts
1
import { getCounter } from './counter.js';
1✔
2

1✔
3
export const getDistinct = <T>(items: T[]): T[] => {
1✔
NEW
4
        return Array.from(getCounter(items).keys());
×
NEW
5
};
×
6

1✔
7
export const getDuplicates = <T>(items: T[]): T[] => {
1✔
8
        return Array.from(getCounter(items).entries())
24✔
9
                .filter(([, count]) => count !== 1)
24✔
10
                .map(([key]) => key);
24✔
11
};
24✔
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