浏览代码

This test doesn't make sense any more. See https://github.com/ckeditor/ckeditor5-engine/issues/465.

Piotrek Koszuliński 9 年之前
父节点
当前提交
1705492469
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      tests/command/attributecommand.js

+ 0 - 5
tests/command/attributecommand.js

@@ -248,9 +248,4 @@ describe( '_checkEnabled', () => {
 			expect( command._checkEnabled() ).to.be.false;
 		} );
 	} );
-
-	it( 'should return false if selection has no ranges', () => {
-		modelDoc.selection.removeAllRanges();
-		expect( command._checkEnabled() ).to.be.false;
-	} );
 } );