Migrated EditTagModal test to react testing library

This commit is contained in:
Alejandro Celaya
2022-07-17 09:11:29 +02:00
parent cc77af6142
commit 24de0773d8
2 changed files with 37 additions and 57 deletions

View File

@@ -34,7 +34,7 @@ export const EditTagModal = ({ getColorForKey }: ColorGenerator) => (
return (
<Modal isOpen={isOpen} toggle={toggle} centered onClosed={hideColorPicker}>
<form onSubmit={saveTag}>
<form name="editTag" onSubmit={saveTag}>
<ModalHeader toggle={toggle}>Edit tag</ModalHeader>
<ModalBody>
<InputGroup>