File tree Expand file tree Collapse file tree
jest-circus/src/legacy-code-todo-rewrite Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,15 +93,15 @@ const jestAdapter = async (
9393 runtime . requireModule ( testPath ) ;
9494 }
9595
96- const projectConfigPerfStats = {
96+ const setupAfterEnvPerfStats = {
9797 setupAfterEnvEnd,
9898 setupAfterEnvStart,
9999 } ;
100100
101101 const results = await runAndTransformResultsToJestFormat ( {
102102 config,
103103 globalConfig,
104- projectConfigPerfStats ,
104+ setupAfterEnvPerfStats ,
105105 testPath,
106106 } ) ;
107107
Original file line number Diff line number Diff line change @@ -141,13 +141,13 @@ export const initialize = async ({
141141export const runAndTransformResultsToJestFormat = async ( {
142142 config,
143143 globalConfig,
144- projectConfigPerfStats ,
144+ setupAfterEnvPerfStats ,
145145 testPath,
146146} : {
147147 config : Config . ProjectConfig ;
148148 globalConfig : Config . GlobalConfig ;
149149 testPath : string ;
150- projectConfigPerfStats : Config . ProjectConfigPerfStats ;
150+ setupAfterEnvPerfStats : Config . SetupAfterEnvPerfStats ;
151151} ) : Promise < TestResult > => {
152152 const runResult : Circus . RunResult = await run ( ) ;
153153
@@ -231,7 +231,7 @@ export const runAndTransformResultsToJestFormat = async ({
231231 numTodoTests,
232232 perfStats : {
233233 ...emptyTestResult . perfStats ,
234- ...projectConfigPerfStats ,
234+ ...setupAfterEnvPerfStats ,
235235 } ,
236236 testExecError,
237237 testFilePath : testPath ,
Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ export type ProjectConfig = {
494494 workerIdleMemoryLimit ?: number ;
495495} ;
496496
497- export type ProjectConfigPerfStats = {
497+ export type SetupAfterEnvPerfStats = {
498498 setupAfterEnvStart : number ;
499499 setupAfterEnvEnd : number ;
500500} ;
You can’t perform that action at this time.
0 commit comments