MetaMask / metamask-mobile

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

chore: Create a story for AccountApproval component #10108

Closed devin-ai-integration[bot] closed 3 days ago

devin-ai-integration[bot] commented 3 days ago

Description

This PR adds a Storybook story for the AccountApproval component. The story includes a default story with mocked data and a play function to simulate user interaction. The Redux store is mocked using the Provider decorator, and necessary data and functions are mocked to ensure the component renders correctly in isolation.

Related issues

N/A

Manual testing steps

  1. Go to the latest build of Storybook in this PR.
  2. Navigate to the AccountApproval component in the Components/ folder.

Screenshots/Recordings

N/A

Pre-merge author checklist

Pre-merge reviewer checklist


This Devin run was requested by Devin: https://preview.devin.ai/devin/b66ec2b8e92543a4aaa33c781d4686b3

github-actions[bot] commented 3 days ago

CLA Signature Action:

Thank you for your submission, we really appreciate it. We ask that you read and sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just by adding a comment to this pull request with this exact sentence:

I have read the CLA Document and I hereby sign the CLA

By commenting with the above message you are agreeing to the terms of the CLA. Your account will be recorded as agreeing to our CLA so you don't need to sign it again for future contributions to this repository.

0 out of 1 committers have signed the CLA. :x: @devin-ai-integration[bot]

sonarcloud[bot] commented 3 days ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 40%)

See analysis details on SonarCloud