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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
153 B
JavaScript
Raw Normal View History

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