mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
1d13ebb05d
* feat: drop jest * test: remove ssr * test: rename * chore: update tsconfig
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 = {}
|