mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 11:17:46 +08:00
8 lines
198 B
TypeScript
8 lines
198 B
TypeScript
|
import { config } from '@vue/test-utils'
|
||
|
import { vi } from 'vitest'
|
||
|
import ResizeObserver from 'resize-observer-polyfill'
|
||
|
|
||
|
vi.stubGlobal('ResizeObserver', ResizeObserver)
|
||
|
|
||
|
config.global.stubs = {}
|