소스 검색

Tests: Clarified what's need to be clarified.

Piotrek Koszuliński 10 년 전
부모
커밋
b60243b9fa
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      packages/ckeditor5-engine/tests/plugincollection/plugincollection.js

+ 1 - 0
packages/ckeditor5-engine/tests/plugincollection/plugincollection.js

@@ -179,6 +179,7 @@ describe( 'load', function() {
 		var plugins = new PluginCollection( editor );
 
 		return plugins.load( 'A,BAD,B' )
+			// Throw here, so if by any chance plugins.load() was resolved correctly catch() will be stil executed.
 			.then( function() {
 				throw new Error( 'Test error: this promise should not be resolved successfully' );
 			} )