Parcourir la source

Update puppeteer.js

Mr.doob il y a 3 ans
Parent
commit
724f0662f5
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      test/e2e/puppeteer.js

+ 2 - 2
test/e2e/puppeteer.js

@@ -143,8 +143,8 @@ const pup = puppeteer.launch( {
 	let pageSize, file, attemptProgress;
 	const failedScreenshots = [];
 	const isParallel = 'CI' in process.env;
-	const beginId = isParallel ? Math.floor( parseInt( process.env.CI.slice( 0, 1 ) ) * files.length / 4 ) : 0;
-	const endId = isParallel ? Math.floor( ( parseInt( process.env.CI.slice( - 1 ) ) + 1 ) * files.length / 4 ) : files.length;
+	const beginId = isParallel ? Math.floor( parseInt( process.env.CI.slice( 0, 1 ) ) * files.length / 8 ) : 0;
+	const endId = isParallel ? Math.floor( ( parseInt( process.env.CI.slice( - 1 ) ) + 1 ) * files.length / 8 ) : files.length;
 
 	for ( let id = beginId; id < endId; ++ id ) {