mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
16 lines
332 B
TypeScript
16 lines
332 B
TypeScript
import { mount } from '@vue/test-utils'
|
|
import Container from '../src/container.vue'
|
|
|
|
const AXIOM = 'Rem is the best girl'
|
|
|
|
describe('Container.vue', () => {
|
|
test('render test', () => {
|
|
const wrapper = mount(Container, {
|
|
slots: {
|
|
default: AXIOM,
|
|
},
|
|
})
|
|
expect(wrapper.text()).toEqual(AXIOM)
|
|
})
|
|
})
|