debian-mirror-gitlab/spec/frontend/__mocks__/lodash/defer.js
2021-03-08 18:12:59 +05:30

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);