Преглед изворни кода

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' );
 			} )