Sfoglia il codice sorgente

Replaced the block comment with inline one.

Kamil Piechaczek 5 anni fa
parent
commit
e0310f259a

+ 4 - 6
packages/ckeditor-cloud-services-core/tests/token/token.js

@@ -344,12 +344,10 @@ describe( 'Token', () => {
 	} );
 } );
 
-/**
- * Returns valid token for tests with given expiration time offset.
- *
- * @param timeOffset {Number}
- * @returns {String}
- */
+// Returns valid token for tests with given expiration time offset.
+//
+// @param {Number} [timeOffset=3600000]
+// @returns {String}
 function getTestTokenValue( timeOffset = 3600000 ) {
 	return `header.${ btoa( JSON.stringify( { exp: Date.now() + timeOffset } ) ) }.signature`;
 }