File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
packages/browser-integration-tests
suites/replay/minReplayDuration Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ import * as path from 'path';
33import * as childProcess from 'child_process' ;
44import { promisify } from 'util' ;
55
6- const exec = promisify ( childProcess . exec ) ;
7-
86async function run ( ) : Promise < void > {
97 let testPaths : string [ ] = [ ] ;
108
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ document.dispatchEvent(new Event('visibilitychange'));`);
4141 expect ( counter ) . toBe ( 0 ) ;
4242
4343 // Now wait for 2s until min duration is reached, and try again
44- await new Promise ( resolve => setTimeout ( resolve , MIN_DURATION ) ) ;
44+ await new Promise ( resolve => setTimeout ( resolve , MIN_DURATION + 100 ) ) ;
4545 await page . evaluate ( `Object.defineProperty(document, 'visibilityState', {
4646 configurable: true,
4747 get: function () {
You can’t perform that action at this time.
0 commit comments