修改更正代码注释'加粗'=>'加删除线'

This commit is contained in:
lkw199711 2020-06-20 23:02:18 +08:00
parent 500aea8ebf
commit 511cdd05dc
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ test('加删除线', () => {
// 找到 strikeThrough 菜单
strikethroughMenu = getMenuInstance(editor, Strikethrough) as Strikethrough
// 执行点击事件,模拟加
// 执行点击事件,模拟加删除线
mockCmdFn(document)
;(strikethroughMenu as Strikethrough).clickHandler()
expect(document.execCommand).toBeCalledWith('strikeThrough', false, undefined) // mock fn 被调用