@@ -10,7 +10,7 @@ import type {AggregatedResult} from '@jest/test-result';
1010import { CustomConsole } from '@jest/console' ;
1111import { createDirectory , preRunMessage } from 'jest-util' ;
1212import { readConfigs } from 'jest-config' ;
13- import Runtime = require ( 'jest-runtime' ) ;
13+ import Runtime , { Context } from 'jest-runtime' ;
1414import type { ChangedFilesPromise } from 'jest-changed-files' ;
1515import HasteMap = require( 'jest-haste-map' ) ;
1616import chalk = require( 'chalk' ) ;
@@ -218,7 +218,7 @@ const _run10000 = async (
218218} ;
219219
220220const runWatch = async (
221- contexts : Array < Runtime . Context > ,
221+ contexts : Array < Context > ,
222222 _configs : Array < Config . ProjectConfig > ,
223223 hasDeprecationWarnings : boolean ,
224224 globalConfig : Config . GlobalConfig ,
@@ -256,7 +256,7 @@ const runWatch = async (
256256
257257const runWithoutWatch = async (
258258 globalConfig : Config . GlobalConfig ,
259- contexts : Array < Runtime . Context > ,
259+ contexts : Array < Context > ,
260260 outputStream : NodeJS . WriteStream ,
261261 onComplete : OnCompleteCallback ,
262262 changedFilesPromise ?: ChangedFilesPromise ,
0 commit comments