Skip to content

Commit 8e34196

Browse files
committed
run next info before building
1 parent 1944b93 commit 8e34196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integration-tests/fixtures/generate-bundle-stats/nextjs/nextjs-plugin.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe("Generating nextjs stats", () => {
3939
const API_URL = `http://localhost:8000/test-url/${id}/200/false`;
4040

4141
// prepare and build the app
42-
await $`cd test-apps/nextjs && API_URL=${API_URL} pnpm run build`;
42+
await $`cd test-apps/nextjs && npx --no-install next info && API_URL=${API_URL} pnpm run build`;
4343

4444
const serverBundleName = `test-nextjs-v${version}-server-cjs`;
4545
const edgeBundleName = `test-nextjs-v${version}-edge-server-array-push`;

0 commit comments

Comments
 (0)