mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-30 10:18:02 +08:00
b8c38a9fe5
* chore: enhance eslint rules * chore: enhance eslint rules
8 lines
244 B
JavaScript
8 lines
244 B
JavaScript
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))
|