-
Notifications
You must be signed in to change notification settings - Fork 298
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
[DTRA] / Kate / DTRA-566 / Console error while switching between DTrader and TraderHub #12156
[DTRA] / Kate / DTRA-566 / Console error while switching between DTrader and TraderHub #12156
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-kate-deriv-kate-dtra-566consoleerroru-1882f9.binary.sx/ |
|
||
it('should clear timeout after component was unmount', () => { | ||
jest.useFakeTimers(); | ||
jest.spyOn(global, 'clearTimeout'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
❌ Smoke test run (2) failed. See logs for details: Visit Action |
❌ Smoke test run (2) failed. See logs for details: Visit Action |
❌ Smoke test run (1) failed. See logs for details: Visit Action |
❌ Smoke test run (1) failed. See logs for details: Visit Action |
❌ Smoke test run (2) failed. See logs for details: Visit Action |
Changes:
clearTimout
and added test case.isMounted()
check in async codeUpdate: after merging latest master, I discovered, that someone has already applied same fixed and the only file which was left is tests
Screenshots:
Please provide some screenshots of the change.