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

clippingkk / web / #1207

21 Mar 2026 03:39PM UTC coverage: 0.518% (-0.004%) from 0.522%
#1207

push

web-flow
Merge pull request #174 from clippingkk/refactor/migrate-eslint-prettier-to-oxlint-oxfmt

refactor(lint): migrate from ESLint + Prettier to oxlint + oxfmt

30 of 448 branches covered (6.7%)

Branch coverage included in aggregate %.

2 of 3517 new or added lines in 323 files covered. (0.06%)

1 existing line in 1 file now uncovered.

147 of 33737 relevant lines covered (0.44%)

8.61 hits per line

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

0.0
/src/components/progress/progress-block.tsx
1
import type React from 'react'
×
2
import { useMemo } from 'react'
×
3

×
4
type ProgressBlockProps = {
×
5
  value: number
×
6
  max: number
×
7
  className?: string
×
8
  children?: React.ReactElement
×
9
}
×
10

×
11
function ProgressBlock(props: ProgressBlockProps) {
×
12
  const progress = useMemo(() => {
×
13
    const p = (props.value / props.max) * 100
×
14
    if (Number.isNaN(p)) {
×
15
      return 1
×
16
    }
×
17
    if (p === 0) {
×
18
      return 1
×
19
    }
×
20
    if (p >= 100) {
×
21
      return 100
×
22
    }
×
23
    return p
×
24
  }, [props.value, props.max])
×
25

×
26
  return (
×
NEW
27
    <div className={`h-4 w-full ${props.className}`}>
×
NEW
28
      <div className="flex h-full w-full rounded-sm bg-gray-400">
×
29
        <div
×
30
          className={
×
NEW
31
            'h-full rounded-sm border-r border-gray-500 bg-blue-500 transition-all duration-200 last:border-r-0'
×
32
          }
×
33
          style={{
×
34
            width: `${progress}%`,
×
35
          }}
×
36
        />
×
37
      </div>
×
38
      {props.children}
×
39
    </div>
×
40
  )
×
41
}
×
42

×
43
export default ProgressBlock
×
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