1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-19 09:36:30 +07:00

fix: Header Component - Replaced class by func. comp (#142)

* refactor: replaced class by func.comp

* refactor: replacing jest test by react-testing-library

* refactor: added test todos

* feat: added more unit tests

* fix: fixed tooltip import

* fix: fixed test

* fix: fixed typo

* fix: fixed imports
This commit is contained in:
Priscila Oliveira
2019-10-08 07:47:11 +02:00
committed by Juan Picado @jotadeveloper
parent ae73772a37
commit d1ce82854a
12 changed files with 774 additions and 368 deletions

View File

@@ -10,7 +10,7 @@ import { Props } from './types';
const LABEL = 'CLOSE';
const RegistryInfoDialog: React.FC<Props> = ({ open = false, children, onClose }) => (
<Dialog id="registryInfo--dialog-container" onClose={onClose} open={open}>
<Dialog data-testid={'registryInfo--dialog'} id="registryInfo--dialog-container" onClose={onClose} open={open}>
<Title disableTypography={true}>{'Register Info'}</Title>
<Content>{children}</Content>
<DialogActions>