MetaMask / metamask-mobile

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

Remove enzyme usage (4/5) #12299

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/component-library/components/Form/TextFieldSearch/TextFieldSearch.test.tsx
app/component-library/components/Form/Label/Label.test.tsx
app/component-library/components/Form/HelpText/HelpText.test.tsx
app/component-library/components/Badges/BadgeWrapper/BadgeWrapper.test.tsx
app/component-library/components/Badges/Badge/Badge.test.tsx
app/component-library/components/Accordions/Accordion/Accordion.test.tsx
app/components/UI/TransactionElement/TransactionDetails/index.test.tsx
app/components/UI/Tabs/TabCountIcon/index.test.tsx
app/components/UI/Swaps/components/TokenSelectButton.test.js
app/components/UI/Swaps/components/TokenIcon.test.js
app/components/UI/PaymentRequest/AssetList/index.test.tsx
app/components/UI/LedgerModals/Steps/ErrorStep.test.tsx
app/components/UI/LedgerModals/Steps/ConfirmationStep.test.tsx
app/components/UI/AssetOverview/AssetActionButton/index.test.tsx
app/components/Views/confirmations/components/WatchAssetRequest/index.test.tsx
app/components/Views/confirmations/components/TypedSign/index.test.tsx
app/components/Views/confirmations/components/TransactionReview/index.test.tsx
app/components/Views/confirmations/components/SignatureRequest/index.test.tsx
app/components/Views/confirmations/components/PersonalSign/index.test.tsx
app/components/Views/confirmations/SendFlow/SendTo/SendTo.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