File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,10 +54,6 @@ import PreactEnzyme from 'enzyme-adapter-preact-pure';
5454 * TODO(wg-infra, #23837): Further refactor and clean up this file.
5555 */
5656
57- // Increase the before/after each timeout since certain times they have timedout
58- // during the normal 2000 allowance.
59- const BEFORE_AFTER_TIMEOUT = 5000 ;
60-
6157// This is the entry point for all AMP unit and integration tests.
6258initializeTests ( ) ;
6359
@@ -106,7 +102,6 @@ before(function () {
106102} ) ;
107103
108104beforeEach ( function ( ) {
109- this . timeout ( BEFORE_AFTER_TIMEOUT ) ;
110105 resetTestingState ( ) ;
111106 setTestName ( this . currentTest . fullTitle ( ) ) ;
112107 maybeStubConsoleInfoLogWarn ( ) ;
@@ -135,7 +130,6 @@ afterEach(function () {
135130 restoreConsoleSandbox ( ) ;
136131 restoreConsoleError ( ) ;
137132 restoreAsyncErrorThrows ( ) ;
138- this . timeout ( BEFORE_AFTER_TIMEOUT ) ;
139133 const cleanupTagNames = [ 'link' , 'meta' , 'iframe' ] ;
140134 const cleanup = document . querySelectorAll ( cleanupTagNames . join ( ',' ) ) ;
141135 for ( let i = 0 ; i < cleanup . length ; i ++ ) {
You can’t perform that action at this time.
0 commit comments