test:update get editor value
This commit is contained in:
@@ -24,9 +24,7 @@ describe('菜单-复选框', () => {
|
||||
}
|
||||
}])
|
||||
|
||||
const payload = editor.command.getValue()
|
||||
|
||||
const data = payload.data[0]
|
||||
const data = editor.command.getValue().data.main[0]
|
||||
|
||||
expect(data.checkbox?.value).to.eq(true)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user