mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 17:31:02 +08:00
16 lines
316 B
TypeScript
16 lines
316 B
TypeScript
|
import { mount } from '@vue/test-utils'
|
||
|
import Radio from '../src/index.vue'
|
||
|
|
||
|
const AXIOM = 'Rem is the best girl'
|
||
|
|
||
|
describe('Radio.vue', () => {
|
||
|
test('render test', () => {
|
||
|
const wrapper = mount(Radio, {
|
||
|
slots: {
|
||
|
default: AXIOM,
|
||
|
},
|
||
|
})
|
||
|
expect(wrapper.text()).toEqual(AXIOM)
|
||
|
})
|
||
|
})
|