element-plus/packages/__mocks__/lodash/throttle.js

6 lines
95 B
JavaScript
Raw Normal View History

2020-10-30 23:26:33 +08:00
module.exports = jest.fn(fn => {
fn.cancel = jest.fn()
fn.flush = jest.fn()
return fn
})