@@ -247,10 +247,11 @@ test("workspace manager links node_modules into prepared workspaces when availab
247247
248248 assert . equal ( await fileExists ( join ( workspacePath , "node_modules" ) ) , true ) ;
249249 assert . equal ( await readFile ( join ( workspacePath , "node_modules" , ".placeholder" ) , "utf-8" ) , "ok\n" ) ;
250+ assert . equal ( existsSync ( join ( workspacePath , "node_modules" , ".placeholder" ) ) , true ) ;
250251 await manager . cleanup ( workspacePath ) ;
251252} ) ;
252253
253- test ( "workspace manager ignores linked node_modules in git workspaces" , async ( ) => {
254+ test ( "workspace manager exposes node_modules entries inside git workspaces" , async ( ) => {
254255 const repo = await createRealGitRepo ( ) ;
255256 await mkdir ( join ( repo , "node_modules" ) , { recursive : true } ) ;
256257 await writeFile ( join ( repo , "node_modules" , ".placeholder" ) , "ok\n" ) ;
@@ -268,6 +269,7 @@ test("workspace manager ignores linked node_modules in git workspaces", async ()
268269 encoding : "utf-8" ,
269270 } ) . trim ( ) ;
270271 assert . equal ( status , "" ) ;
272+ assert . equal ( await readFile ( join ( workspacePath , "node_modules" , ".placeholder" ) , "utf-8" ) , "ok\n" ) ;
271273 await manager . cleanup ( workspacePath ) ;
272274} ) ;
273275
0 commit comments