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

humanspeak / svelte-headless-table / 12913869200

22 Jan 2025 05:36PM UTC coverage: 34.206% (-25.6%) from 59.766%
12913869200

push

github

web-flow
Merge pull request #9 from humanspeak/feature-version

Feature: 5.x

404 of 538 branches covered (75.09%)

Branch coverage included in aggregate %.

2129 of 3542 new or added lines in 41 files covered. (60.11%)

1 existing line in 1 file now uncovered.

2639 of 8358 relevant lines covered (31.57%)

17.47 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