Enhance lodash debounce mock to help assert that debounce was set up
Description
Follow up from !28807 (merged)
In our lodash/debounce
mock, let's decorate the functions passed to it with some values that will let us verify that a function was debounced correctly.