hainenber commented on code in PR #29118: URL: https://github.com/apache/superset/pull/29118#discussion_r1638409132
########## superset-frontend/src/dashboard/components/dnd/handleScroll/handleScroll.test.ts: ########## @@ -19,6 +19,7 @@ import handleScroll from '.'; jest.useFakeTimers(); +jest.spyOn(global, 'clearInterval'); Review Comment: Actually it's not. Due to new implementation of fake timer in Jest 27, we have to mock the timer-related function such as `clearInterval` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
