mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +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)
|
||
|
}
|
||
|
|