Migrated Result test to react testing library

This commit is contained in:
Alejandro Celaya
2022-07-08 11:24:19 +02:00
parent 65f739499f
commit 21101d4da8
2 changed files with 10 additions and 23 deletions

View File

@@ -15,6 +15,7 @@ export const Result: FC<ResultProps> = ({ children, type, className, small = fal
<Row className={className}>
<div className={classNames({ 'col-md-10 offset-md-1': !small, 'col-12': small })}>
<SimpleCard
role="document"
className={classNames('text-center', {
'bg-main': type === 'success',
'bg-danger': type === 'error',