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

vitorspadacio / react-sample / ebb70494-36a5-46ef-b9da-d4806459a795

15 Apr 2025 01:32PM UTC coverage: 76.341% (-6.8%) from 83.186%
ebb70494-36a5-46ef-b9da-d4806459a795

push

circleci

web-flow
Atualização final de pacotes e remoção do redux

8 of 20 branches covered (40.0%)

Branch coverage included in aggregate %.

234 of 297 relevant lines covered (78.79%)

3.11 hits per line

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

57.14
/src/features/node-sample/UserDeleteModal/UserDeleteModal.tsx
1
import Modal from 'react-modal'
1✔
2
import { Button, RedButton } from '../../../components/Styled/Buttons'
1✔
3
import { Container, ModalStyle, Title } from './UserDeleteModal.styles'
1✔
4

5
interface Props {
6
  idToDelete: number,
7
  onConfirmClick: Function,
8
  onCancelClick: Function,
9
}
10

11
export default function ({ idToDelete, onConfirmClick, onCancelClick }: Props) {
1✔
12
  return (
×
13
    <Modal
14
      appElement={document.getElementById('root')}
15
      ariaHideApp={import.meta.env.NODE_ENV !== 'test'}
16
      contentLabel='Delete user modal'
17
      isOpen={Boolean(idToDelete)}
18
      style={ModalStyle}
19
    >
20
      <Title>Deseja deletar o usuário?</Title>
21
      <Container>
22
        <Button onClick={() => onCancelClick()}>Cancelar</Button>
×
23
        <RedButton onClick={() => onConfirmClick()}>Confirmar</RedButton>
×
24
      </Container>
25
    </Modal>
26
  )
27
}
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