element-plus/jest.setup.js

8 lines
229 B
JavaScript
Raw Normal View History

/* 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