@@ -646,7 +646,9 @@ describe('rmRF', () => {
646646 // Node.js 24 changed behavior - fs.readlink no longer includes trailing backslash
647647 // Accept both formats for compatibility
648648 const linkPath = await fs . readlink ( symlinkLevel2Directory )
649- expect ( linkPath . replace ( / \\ + $ / , '' ) ) . toBe ( symlinkDirectory . replace ( / \\ + $ / , '' ) )
649+ expect ( linkPath . replace ( / \\ + $ / , '' ) ) . toBe (
650+ symlinkDirectory . replace ( / \\ + $ / , '' )
651+ )
650652 } else {
651653 expect ( await fs . readlink ( symlinkLevel2Directory ) ) . toBe ( symlinkDirectory )
652654 }
@@ -1202,9 +1204,8 @@ describe('which', () => {
12021204 const originalPath = process . env [ 'PATH' ]
12031205 try {
12041206 // modify PATH
1205- process . env [
1206- 'PATH'
1207- ] = `${ process . env [ 'PATH' ] } ${ path . delimiter } ${ testPath } `
1207+ process . env [ 'PATH' ] =
1208+ `${ process . env [ 'PATH' ] } ${ path . delimiter } ${ testPath } `
12081209
12091210 // find each file
12101211 for ( const fileName of Object . keys ( files ) ) {
@@ -1275,9 +1276,8 @@ describe('which', () => {
12751276 await fs . writeFile ( notExpectedFilePath , '' )
12761277 const originalPath = process . env [ 'PATH' ]
12771278 try {
1278- process . env [
1279- 'PATH'
1280- ] = `${ process . env [ 'PATH' ] } ${ path . delimiter } ${ testPath } `
1279+ process . env [ 'PATH' ] =
1280+ `${ process . env [ 'PATH' ] } ${ path . delimiter } ${ testPath } `
12811281 expect ( await io . which ( fileName ) ) . toBe ( expectedFilePath )
12821282 } finally {
12831283 process . env [ 'PATH' ] = originalPath
@@ -1439,9 +1439,8 @@ describe('findInPath', () => {
14391439 try {
14401440 // update the PATH
14411441 for ( const testPath of testPaths ) {
1442- process . env [
1443- 'PATH'
1444- ] = `${ process . env [ 'PATH' ] } ${ path . delimiter } ${ testPath } `
1442+ process . env [ 'PATH' ] =
1443+ `${ process . env [ 'PATH' ] } ${ path . delimiter } ${ testPath } `
14451444 }
14461445 // exact file names
14471446 expect ( await io . findInPath ( fileName ) ) . toEqual ( filePaths )
0 commit comments