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

IQSS / dataverse-frontend / 6946823746

21 Nov 2023 04:02PM CUT coverage: 97.953% (-0.4%) from 98.312%
6946823746

Pull #237

github

MellyGray
fix: add Router to stories
Pull Request #237: 229 - Basic home page with the list of datasets

422 of 437 branches covered (0.0%)

Branch coverage included in aggregate %.

74 of 81 new or added lines in 15 files covered. (91.36%)

1396 of 1419 relevant lines covered (98.38%)

3657.64 hits per line

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

85.71
/packages/design-system/src/lib/components/tooltip/Tooltip.tsx
1
import { OverlayTrigger as OverlayTriggerBS, Tooltip as TooltipBS } from 'react-bootstrap'
636!
2
import { Placement } from 'react-bootstrap/types'
3
import { ReactElement } from 'react'
4

5
interface OverlayTriggerProps {
6
  placement: Placement
7
  overlay: string | ReactElement
8
  children: ReactElement
9
  maxWidth?: number
10
}
11

12
export function Tooltip({ placement, overlay, children, maxWidth = 200 }: OverlayTriggerProps) {
106✔
13
  return (
46✔
14
    <OverlayTriggerBS
15
      key={placement}
16
      placement={placement}
17
      overlay={<TooltipBS style={{ maxWidth: maxWidth, position: 'fixed' }}>{overlay}</TooltipBS>}>
18
      <div style={{ display: 'inline-block' }}>{children}</div>
19
    </OverlayTriggerBS>
20
  )
21
}
106✔
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