gitlab-org--gitlab-foss/spec/frontend/__mocks__/lodash/defer.js

5 lines
153 B
JavaScript

/**
* Instead of messing around with timers, we execute deferred functions
* immediately in our specs
*/
export default (fn, ...args) => fn(...args);