mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-04 04:08:34 +08:00
test: avoid mock the whole lodash but only debounce
This commit is contained in:
parent
7da3b560bd
commit
4e3d046f77
@ -1,5 +1,5 @@
|
||||
|
||||
const _ = jest.genMockFromModule('lodash')
|
||||
const _ = jest.requireActual('lodash')
|
||||
|
||||
|
||||
const debounce = jest.fn(fn => {
|
||||
|
Loading…
Reference in New Issue
Block a user