@@ -68,6 +68,7 @@ describe('cleanup', () => {
6868 await writeFile ( joinPath ( tmpDir , 'package-lock.json' ) , '{}' )
6969 await writeFile ( joinPath ( tmpDir , 'yarn.lock' ) , '{}' )
7070 await writeFile ( joinPath ( tmpDir , 'pnpm-lock.yaml' ) , '{}' )
71+ await writeFile ( joinPath ( tmpDir , 'bun.lock' ) , '{}' )
7172 await writeFile ( joinPath ( tmpDir , 'bun.lockb' ) , '{}' )
7273
7374 // When
@@ -77,6 +78,7 @@ describe('cleanup', () => {
7778 await expect ( fileExists ( joinPath ( tmpDir , 'package-lock.json' ) ) ) . resolves . toBe ( packageManager === 'npm' )
7879 await expect ( fileExists ( joinPath ( tmpDir , 'yarn.lock' ) ) ) . resolves . toBe ( packageManager === 'yarn' )
7980 await expect ( fileExists ( joinPath ( tmpDir , 'pnpm-lock.yaml' ) ) ) . resolves . toBe ( packageManager === 'pnpm' )
81+ await expect ( fileExists ( joinPath ( tmpDir , 'bun.lock' ) ) ) . resolves . toBe ( packageManager === 'bun' )
8082 await expect ( fileExists ( joinPath ( tmpDir , 'bun.lockb' ) ) ) . resolves . toBe ( packageManager === 'bun' )
8183 } )
8284 } )
@@ -87,6 +89,7 @@ describe('cleanup', () => {
8789 await writeFile ( joinPath ( tmpDir , 'package-lock.json' ) , '{}' )
8890 await writeFile ( joinPath ( tmpDir , 'yarn.lock' ) , '{}' )
8991 await writeFile ( joinPath ( tmpDir , 'pnpm-lock.yaml' ) , '{}' )
92+ await writeFile ( joinPath ( tmpDir , 'bun.lock' ) , '{}' )
9093 await writeFile ( joinPath ( tmpDir , 'bun.lockb' ) , '{}' )
9194
9295 // When
@@ -96,6 +99,7 @@ describe('cleanup', () => {
9699 await expect ( fileExists ( joinPath ( tmpDir , 'package-lock.json' ) ) ) . resolves . toBe ( false )
97100 await expect ( fileExists ( joinPath ( tmpDir , 'yarn.lock' ) ) ) . resolves . toBe ( false )
98101 await expect ( fileExists ( joinPath ( tmpDir , 'pnpm-lock.yaml' ) ) ) . resolves . toBe ( false )
102+ await expect ( fileExists ( joinPath ( tmpDir , 'bun.lock' ) ) ) . resolves . toBe ( false )
99103 await expect ( fileExists ( joinPath ( tmpDir , 'bun.lockb' ) ) ) . resolves . toBe ( false )
100104 } )
101105 } )
0 commit comments