Skip to content

Commit

Permalink
No need to install pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
unstubbable committed Jul 25, 2024
1 parent 1f38702 commit a0b6668
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/integration/create-next-app/package-manager/pnpm.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {
command,
DEFAULT_FILES,
FULL_EXAMPLE_PATH,
projectFilesShouldExist,
Expand All @@ -23,13 +22,6 @@ describe('create-next-app with package manager pnpm', () => {
)

nextTgzFilename = pkgPaths.get('next')

await command('pnpm', ['--version'])
// install pnpm if not available
.catch(() =>
command('corepack', ['prepare', '--activate', 'pnpm@latest'])
)
.catch(() => command('npm', ['i', '-g', 'pnpm']))
})

it('should use pnpm for --use-pnpm flag', async () => {
Expand Down

0 comments on commit a0b6668

Please sign in to comment.