debian-mirror-gitlab/spec/frontend/__mocks__/lodash/defer.js

6 lines
153 B
JavaScript
Raw Normal View History

2021-03-08 18:12:59 +05:30
/**
* Instead of messing around with timers, we execute deferred functions
* immediately in our specs
*/
export default (fn, ...args) => fn(...args);