MetaMask / metamask-mobile

Mobile web browser providing access to websites that use the Ethereum blockchain
https://metamask.io
Other
2.18k stars 1.12k forks source link

Remove Enzyme usage (3/5) #12298

Open Cal-L opened 1 week ago

Cal-L commented 1 week ago

What is this about?

What is this about?

Replace enzyme usage in the follow files with React testing library

app/components/UI/CollectibleContractOverview/index.test.tsx
app/components/UI/CollectibleContractInformation/index.test.tsx
app/components/UI/AssetElement/index.test.tsx
app/components/UI/AddCustomCollectible/index.test.tsx
app/components/UI/AccountFromToInfoCard/AccountFromToInfoCard.test.tsx
app/components/Views/Settings/GeneralSettings/index.test.tsx
app/components/Views/Settings/Contacts/index.test.tsx
app/component-library/components-temp/CustomSpendCap/CustomInput/CustomInput.test.tsx
app/component-library/components-temp/Contracts/ContractBox/ContractBox.test.tsx
app/component-library/components-temp/Contracts/ContractBoxBase/ContractBoxBase.test.tsx
app/component-library/components-temp/Accounts/AccountBase/AccountBase.test.tsx
app/component-library/components-temp/Accounts/AccountBalance/AccountBalance.test.tsx
app/component-library/components/Sheet/SheetHeader/SheetHeader.test.tsx
app/component-library/components/Sheet/SheetBottom/SheetBottom.test.tsx
app/component-library/components/Texts/TextWithPrefixIcon/TextWithPrefixIcon.test.tsx
app/component-library/components/Tags/TagUrl/TagUrl.test.tsx
app/component-library/components/Navigation/TabBarItem/TabBarItem.test.tsx
app/component-library/components/Modals/ModalConfirmation/ModalConfirmation.test.tsx
app/component-library/components/List/ListItemColumn/ListItemColumn.test.tsx
app/component-library/components/Form/TextField/TextField.test.tsx

Scenario

No response

Design

No response

Technical Details

No response

Threat Modeling Framework

No response

Acceptance Criteria

Stakeholder review needed before the work gets merged

References

No response

Scenario

No response

Design

No response

Technical Details

No response

Threat Modeling Framework

No response

Acceptance Criteria

No response

Stakeholder review needed before the work gets merged

References

No response