File tree 1 file changed +14
-1
lines changed
packages/jest-resolve/src
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -51,13 +51,26 @@ export type ResolveModuleConfig = {|
51
51
const NATIVE_PLATFORM = 'native' ;
52
52
53
53
// We might be inside a symlink.
54
+
55
+ console . log ( '-------------- CWD ---------------' )
56
+ console . log ( process . cwd ( ) )
57
+
58
+
54
59
const resolvedCwd = fs . realpathSync ( process . cwd ( ) ) ;
60
+ console . log ( '-------------- RESOLVED CWD ---------------' )
61
+ console . log ( resolvedCwd )
62
+
63
+
55
64
const nodePaths = process . env . NODE_PATH
56
65
? process . env . NODE_PATH
57
66
. split ( path . delimiter )
58
67
. filter ( Boolean )
59
68
// The resolver expects absolute paths.
60
- . map ( p => path . resolve ( resolvedCwd , p ) )
69
+ . map ( p => {
70
+ console . log ( '-------------- resolving -----------' )
71
+ console . log ( p , 'against' , resolvedCwd )
72
+ return path . resolve ( resolvedCwd , p )
73
+ } )
61
74
: null ;
62
75
63
76
class Resolver {
You can’t perform that action at this time.
0 commit comments