mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
fix(dialog): dialog test failed (#578)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
This commit is contained in:
parent
9c20c519fa
commit
9ae9db50cc
@ -51,13 +51,14 @@ describe('n-dialog', () => {
|
||||
expect(wrapper.find('button').exists()).toEqual(false)
|
||||
})
|
||||
|
||||
it('async', async () => {
|
||||
it('loading', async () => {
|
||||
const Test = defineComponent({
|
||||
setup () {
|
||||
const dialog = useDialog()
|
||||
dialog.success({
|
||||
title: 'Async',
|
||||
title: 'Loading',
|
||||
content: 'Content',
|
||||
positiveText: '确认',
|
||||
loading: true
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user