mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 03:38:41 +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