Selaa lähdekoodia

Internal: Added instanbul ignore comments to the "utils/version" module for 100% CC.

Aleksander Nowodzinski 6 vuotta sitten
vanhempi
commit
ecd3f99feb
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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