mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
14 lines
271 B
TypeScript
14 lines
271 B
TypeScript
|
import { config } from '@vue/test-utils'
|
||
|
|
||
|
const stylePlugin = (wrapper: any) => {
|
||
|
return {
|
||
|
style: wrapper.element.style,
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default function install() {
|
||
|
config.plugins.DOMWrapper.install(stylePlugin)
|
||
|
config.plugins.VueWrapper.install(stylePlugin)
|
||
|
}
|
||
|
|