Browse Source

Tests: Clarified what's need to be clarified.

Piotrek Koszuliński 10 years ago
parent
commit
b60243b9fa

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