safe-global / safe-wallet-web

Safe{Wallet} – smart contract wallet for Ethereum (ex-Gnosis Safe multisig)
https://app.safe.global
GNU General Public License v3.0
311 stars 360 forks source link

Tests: Add swap tests #3884

Closed mike10ca closed 3 days ago

mike10ca commented 3 days ago

What it solves

How this PR fixes it

How to test it

github-actions[bot] commented 3 days ago

Branch preview

βœ… Deploy successful!

Website: https://swap_tests_2--walletweb.review.5afe.dev/home?safe=eth:0xA77DE01e157f9f57C7c4A326eeE9C4874D0598b6

Storybook: https://swap_tests_2--walletweb.review.5afe.dev/storybook/

github-actions[bot] commented 3 days ago

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A

Report generated by eslint-plus-action

github-actions[bot] commented 3 days ago

πŸ“¦ Next.js Bundle Analysis for safe-wallet-web

This analysis was generated by the Next.js Bundle Analysis action. πŸ€–

This PR introduced no changes to the JavaScript bundle! πŸ™Œ

github-actions[bot] commented 3 days ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
78.83% (+0.08% πŸ”Ό)
11355/14404
πŸ”΄ Branches
58.22% (+0.2% πŸ”Ό)
2748/4720
🟑 Functions
65.79% (+0.06% πŸ”Ό)
1825/2774
🟒 Lines
80.17% (+0.03% πŸ”Ό)
10230/12761
Show files with reduced coverage πŸ”»
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | 🟒 |
`...` / transaction-guards.ts
|
79.87% (+1.12% πŸ”Ό)
|
47.5% (-5.69% πŸ”»)
|
77.08% (-1.35% πŸ”»)
|
80.2% (-0.54% πŸ”»)
| | 🟑 |
`...` / useTransactionType.ts
|
67.57% (-0.85% πŸ”»)
|
41.03% (+1.03% πŸ”Ό)
| 100% |
68.57% (-0.87% πŸ”»)
| | 🟑 |
`...` / index.tsx
|
65.38% (-2.36% πŸ”»)
| 0% | 0% |
70.83% (-1.58% πŸ”»)
| | πŸ”΄ |
`...` / index.tsx
|
35.56% (-1.81% πŸ”»)
| 0% | 0% |
37.65% (-1.89% πŸ”»)
|

Test suite run success

1413 tests passing in 195 suites.

Report generated by πŸ§ͺjest coverage report action from f54792e99a2bdea870c67f1707815116bbcf9438