소스 검색

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: