Преглед изворни кода

Increase timeout in memory tests.

Maciej Gołaszewski пре 7 година
родитељ
комит
dbfc6cac94
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      packages/ckeditor5-core/tests/_utils/memory.js

+ 5 - 1
packages/ckeditor5-core/tests/_utils/memory.js

@@ -25,7 +25,11 @@ export function describeMemoryUsage( callback ) {
  * @param {Function} editorCreator Callback which creates editor and returns it's `.create()` promise.
  */
 export function testMemoryUsage( testName, editorCreator ) {
-	it( testName, () => runTest( editorCreator ) );
+	it( testName, function() {
+		this.timeout( 6000 );
+
+		return runTest( editorCreator );
+	} );
 }
 
 // Runs a single test case. This method will properly setup memory-leak test: