File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { JestPuppeteerEnvironmentConstructor } from '../jest-apis';
88export function createJestPuppeteerEnvironment ( ) : JestPuppeteerEnvironmentConstructor {
99 const BaseEnv = NodeEnvironment as unknown as new ( ...args : any [ ] ) => any ;
1010 const JestEnvironment = class extends BaseEnv {
11- override global : JestGlobal . Global & JestEnvironmentGlobal ;
11+ global : JestGlobal . Global & JestEnvironmentGlobal ;
1212 browser : any = null ;
1313 pages : any [ ] = [ ] ;
1414 testPath : string | null = null ;
@@ -18,7 +18,7 @@ export function createJestPuppeteerEnvironment(): JestPuppeteerEnvironmentConstr
1818 this . testPath = context ?. testPath ?? null ;
1919 }
2020
21- override async setup ( ) {
21+ async setup ( ) {
2222 if ( ( process . env as E2EProcessEnv ) . __STENCIL_E2E_TESTS__ === 'true' ) {
2323 this . global . __NEW_TEST_PAGE__ = this . newPuppeteerPage . bind ( this ) ;
2424 this . global . __CLOSE_OPEN_PAGES__ = this . closeOpenPages . bind ( this ) ;
@@ -89,14 +89,14 @@ export function createJestPuppeteerEnvironment(): JestPuppeteerEnvironmentConstr
8989 this . pages . length = 0 ;
9090 }
9191
92- override async teardown ( ) {
92+ async teardown ( ) {
9393 await super . teardown ( ) ;
9494 await this . closeOpenPages ( ) ;
9595 await disconnectBrowser ( this . browser ) ;
9696 this . browser = null ;
9797 }
9898
99- override getVmContext ( ) {
99+ getVmContext ( ) {
100100 return super . getVmContext ( ) ;
101101 }
102102 } ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { JestPuppeteerEnvironmentConstructor } from '../jest-apis';
88export function createJestPuppeteerEnvironment ( ) : JestPuppeteerEnvironmentConstructor {
99 const BaseEnv = NodeEnvironment as unknown as new ( ...args : any [ ] ) => any ;
1010 const JestEnvironment = class extends BaseEnv {
11- override global : JestGlobal . Global & JestEnvironmentGlobal ;
11+ global : JestGlobal . Global & JestEnvironmentGlobal ;
1212 browser : any = null ;
1313 pages : any [ ] = [ ] ;
1414 testPath : string | null = null ;
@@ -18,7 +18,7 @@ export function createJestPuppeteerEnvironment(): JestPuppeteerEnvironmentConstr
1818 this . testPath = context ?. testPath ?? null ;
1919 }
2020
21- override async setup ( ) {
21+ async setup ( ) {
2222 if ( ( process . env as E2EProcessEnv ) . __STENCIL_E2E_TESTS__ === 'true' ) {
2323 this . global . __NEW_TEST_PAGE__ = this . newPuppeteerPage . bind ( this ) ;
2424 this . global . __CLOSE_OPEN_PAGES__ = this . closeOpenPages . bind ( this ) ;
@@ -89,14 +89,14 @@ export function createJestPuppeteerEnvironment(): JestPuppeteerEnvironmentConstr
8989 this . pages . length = 0 ;
9090 }
9191
92- override async teardown ( ) {
92+ async teardown ( ) {
9393 await super . teardown ( ) ;
9494 await this . closeOpenPages ( ) ;
9595 await disconnectBrowser ( this . browser ) ;
9696 this . browser = null ;
9797 }
9898
99- override getVmContext ( ) {
99+ getVmContext ( ) {
100100 return super . getVmContext ( ) ;
101101 }
102102 } ;
You can’t perform that action at this time.
0 commit comments