Skip to content

Commit

Permalink
Add missing nanoid dependency to app-dir tests (#56830)
Browse files Browse the repository at this point in the history
Fixes a bunch of the Turbopack test failures for `test/e2e/app-dir/app/index.test.ts`. Not sure how this passed with webpack before as the dep was indeed missing.
  • Loading branch information
timneutkens committed Oct 14, 2023
1 parent d390c3d commit 83d8867
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/app-dir/app/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ createNextDescribe(
buildCommand: process.env.NEXT_EXPERIMENTAL_COMPILE
? 'pnpm next experimental-compile'
: undefined,
dependencies: {
nanoid: '4.0.1',
},
},
({ next, isNextDev: isDev, isNextStart, isNextDeploy, isTurbopack }) => {
if (process.env.NEXT_EXPERIMENTAL_COMPILE) {
Expand Down

0 comments on commit 83d8867

Please sign in to comment.