File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/jest-resolve-dependencies/src/__tests__ Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import {DependencyResolver} from '../index';
1616const maxWorkers = 1 ;
1717let dependencyResolver : DependencyResolver ;
1818let runtimeContextResolver : Resolver ;
19- let Runtime : typeof import ( 'jest-runtime' ) . default ;
2019let config : Config . ProjectConfig ;
2120const cases : Record < string , ( path : string ) => boolean > = {
2221 fancyCondition : path => path . length > 10 ,
@@ -26,7 +25,8 @@ const filter = (path: string) =>
2625 Object . keys ( cases ) . every ( key => cases [ key ] ( path ) ) ;
2726
2827beforeEach ( async ( ) => {
29- Runtime = ( require ( 'jest-runtime' ) as typeof import ( 'jest-runtime' ) ) . default ;
28+ const Runtime = ( require ( 'jest-runtime' ) as typeof import ( 'jest-runtime' ) )
29+ . default ;
3030 config = makeProjectConfig ( {
3131 cacheDirectory : path . resolve ( tmpdir ( ) , 'jest-resolve-dependencies-test' ) ,
3232 moduleDirectories : [ 'node_modules' ] ,
You can’t perform that action at this time.
0 commit comments