Skip to content

Commit 111c8ea

Browse files
committed
Fix flaky Bun test
1 parent e5f6f13 commit 111c8ea

File tree

1 file changed

+2
-2
lines changed
  • test/integration/create-next-app/package-manager

1 file changed

+2
-2
lines changed

test/integration/create-next-app/package-manager/bun.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
useTempDir,
88
} from '../utils'
99

10-
const lockFile = 'bun.lockb'
10+
const lockFile = 'bun.lock'
1111
const files = [...DEFAULT_FILES, lockFile]
1212

1313
describe('create-next-app with package manager bun', () => {
@@ -26,7 +26,7 @@ describe('create-next-app with package manager bun', () => {
2626

2727
await command('bun', ['--version'])
2828
// install bun if not available
29-
.catch(() => command('npm', ['i', '-g', 'bun']))
29+
.catch(() => command('npm', ['i', '-g', 'bun@1.2.4']))
3030
})
3131

3232
it('should use bun for --use-bun flag', async () => {

0 commit comments

Comments
 (0)