소스 검색

Marked unreachable code coverage.

fredck 10 년 전
부모
커밋
4be8a0f5f9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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.';
 	}