mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-12 10:45:10 +08:00
11 lines
165 B
JavaScript
11 lines
165 B
JavaScript
|
|
const _ = jest.requireActual('lodash')
|
|
|
|
_.debounce = _.throttle = jest.fn(fn => {
|
|
fn.cancel = jest.fn()
|
|
fn.flush = jest.fn()
|
|
return fn
|
|
})
|
|
|
|
module.exports = _
|