-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: try fix ci issue by mock coinbase sdk #668
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #668 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 650 650
Lines 17505 17505
Branches 1071 1071
=========================================
Hits 17505 17505 ☔ View full report in Codecov by Sentry. |
我本地也会出现一个快照错误,看了一下ci也有 https://github.com/ant-design/ant-design-web3/actions/runs/8340142264/job/22824624200 看起来似乎是pr刚新增的另外一个修改的文件,这个有什么特殊的用处么,还是还没update @jeasonstudio |
@thinkasany 还原了,不过即使 snapshot fail 了 ci 也还是成功的,有点怪 |
还是会出现 websocket error,我先 convert to draft 了 |
已知的错误触发链路:
|
testcase 里去掉 coinbase wallet |
fc2d87a
to
6c56e95
Compare
CoinbaseWallet SDK 实例化的时候就会尝试去跟官方的一个 rpc 地址建立 ws 连接,在 CI 环境会出现各种问题,而且这是一个动态引入的内部依赖包,不太好用 |
[中文版模板 / Chinese template]
📝 Git Commit Message Convention
🔗 Related issue link
尝试处理
@coinbase/wallet-sdk
内部包导致的 websocket error