hainenber commented on code in PR #29118:
URL: https://github.com/apache/superset/pull/29118#discussion_r1638411053


##########
superset-frontend/src/hooks/useDebounceValue.test.ts:
##########
@@ -71,6 +71,7 @@ it('should cancel previous timeout when value changes', async 
() => {
 
 test('should cancel the timeout when unmounting', async () => {
   jest.useFakeTimers();
+  jest.spyOn(global, 'clearTimeout');

Review Comment:
   Same logic as above



-- 
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: notifications-unsubscr...@superset.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to