justinpark commented on code in PR #29118:
URL: https://github.com/apache/superset/pull/29118#discussion_r1633920431
##########
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. it appears redundant
```suggestion
```
--
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]