mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 20:58:22 +08:00
9 lines
300 B
JavaScript
9 lines
300 B
JavaScript
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
const { config } = require('@vue/test-utils')
|
|
const _ResizeObserver = require('resize-observer-polyfill')
|
|
|
|
config.global.stubs = {}
|
|
|
|
global.ResizeObserver = _ResizeObserver
|
|
process.addListener('unhandledRejection', (err) => console.error(err))
|