mw.util.debounce was initially mocked with the implementation from lodash in jest.setup.js. This paired with the speed of tests meant that debounced functions would usually only be called once in a test, even if they should have been called multiple times.
As of T409454: [MEX] M4.1.4 - First Pass - coordinates datatypes, function calls in tests are no longer debounced by default. Because editableTimeSnakValue.spec.js and editableSnakValue.spec.js were written in the time of debouncing, there are some workarounds that rely on it. Fixing these was non-trivial, so the old lodash behavior was added to this test as a temporary hack. This should be removed and the tests fixed.