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

IQSS / dataverse-frontend / 7100194617

28 Nov 2023 04:51PM CUT coverage: 98.462% (+0.04%) from 98.426%
7100194617

Pull #240

github

MellyGray
feat(IntegrationFileDownload): add tabular files download
Pull Request #240: 238 - Integration single file download

429 of 441 branches covered (0.0%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

1363 of 1379 relevant lines covered (98.84%)

3757.54 hits per line

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

90.0
/packages/design-system/src/lib/components/form/form-group/form-input-group/FormInputGroup.tsx
1
import React, { PropsWithChildren } from 'react'
224✔
2
import { InputGroup } from 'react-bootstrap'
3
import { FormInputGroupText } from './FormInputGroupText'
4
import { Col } from '../../../grid/Col'
5

6
interface FormInputGroupProps {
7
  hasVisibleLabel?: boolean
8
}
9

10
function FormInputGroup({ hasVisibleLabel, children }: PropsWithChildren<FormInputGroupProps>) {
11
  const childrenInsideGroup = React.Children.map(children as JSX.Element, (child) => {
10✔
12
    return React.cloneElement(child, {
20✔
13
      withinMultipleFieldsGroup: true
14
    })
15
  })
16

17
  return hasVisibleLabel ? (
10!
18
    <Col sm={9}>
19
      <InputGroup className="mb-3">{childrenInsideGroup}</InputGroup>
20
    </Col>
21
  ) : (
22
    <InputGroup className="mb-3">{childrenInsideGroup}</InputGroup>
23
  )
24
}
32✔
25

26
FormInputGroup.Text = FormInputGroupText
32✔
27

28
export { FormInputGroup }
32✔
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