File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ describe('cd cases', () => {
70
70
assert . equal ( process . cwd ( ) , TEMP_DIR_2_SUBDIR_1 ) ;
71
71
72
72
tl . cd ( TEMP_DIR_2_SUBDIR_1_SYMLINK_DIR_1 ) ;
73
- assert . equal ( process . cwd ( ) , TEMP_DIR_2_SUBDIR_1_SYMLINK_DIR_1 ) ;
73
+ assert . equal ( fs . realpathSync ( '.' ) , TEMP_DIR_1 ) ;
74
74
75
75
assert . equal ( process . env . OLDPWD , TEMP_DIR_2_SUBDIR_1 ) ;
76
76
@@ -92,7 +92,7 @@ describe('cd cases', () => {
92
92
it ( 'Provide path that is a dir symlink' , ( done ) => {
93
93
assert . ok ( fs . existsSync ( TEMP_DIR_2_SUBDIR_1_SYMLINK_DIR_1 ) ) ;
94
94
assert . doesNotThrow ( ( ) => tl . cd ( TEMP_DIR_2_SUBDIR_1_SYMLINK_DIR_1 ) ) ;
95
- assert . equal ( process . cwd ( ) , TEMP_DIR_2_SUBDIR_1_SYMLINK_DIR_1 ) ;
95
+ assert . equal ( fs . realpathSync ( '.' ) , TEMP_DIR_1 ) ;
96
96
done ( ) ;
97
97
} ) ;
98
98
You can’t perform that action at this time.
0 commit comments