mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
test: avoid mock the whole lodash but only debounce
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
const _ = jest.genMockFromModule('lodash')
|
||||
const _ = jest.requireActual('lodash')
|
||||
|
||||
|
||||
const debounce = jest.fn(fn => {
|
||||
|
||||
Reference in New Issue
Block a user