8
0
Pārlūkot izejas kodu

Internal: Added instanbul ignore comments to the "utils/version" module for 100% CC (see [ckeditor/ckeditor5#5848](https://github.com/ckeditor/ckeditor5/issues/5848)).

Marek Lewandowski 6 gadi atpakaļ
vecāks
revīzija
12614566fd
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      packages/ckeditor5-utils/src/version.js

+ 2 - 0
packages/ckeditor5-utils/src/version.js

@@ -13,8 +13,10 @@ import CKEditorError from './ckeditorerror';
 
 const version = '15.0.0';
 
+/* istanbul ignore next */
 const windowOrGlobal = typeof window === 'object' ? window : global;
 
+/* istanbul ignore next */
 if ( windowOrGlobal.CKEDITOR_VERSION ) {
 	/**
 	 * This error is thrown when due to a mistake in how CKEditor 5 was installed or initialized, some