Browse Source

Marked unreachable code coverage.

fredck 11 năm trước cách đây
mục cha
commit
4be8a0f5f9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/ckeditor5-ui/src/promise.js

+ 1 - 0
packages/ckeditor5-ui/src/promise.js

@@ -19,6 +19,7 @@ CKEDITOR.define( function() {
 	//
 	// http://caniuse.com/#feat=promises
 
+	/* istanbul ignore next: we expect this to never happen for now, so we'll not have coverage for this */
 	if ( !window.Promise ) {
 		throw 'The Promise class is not available natively. CKEditor is not compatible with this browser.';
 	}