Skip to content

Commit 1bec12c

Browse files
committed
test: use npm for nx
1 parent a109f74 commit 1bec12c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

tests/fixtures/nx-integrated/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@
2525
"nx": "21.6.3",
2626
"ts-node": "10.9.1",
2727
"typescript": "~5.3.2"
28-
},
29-
"packageManager": "[email protected]"
28+
}
3029
}

tests/utils/create-e2e-fixture.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ async function deploySite(
293293
await cp(join(functionsPath, path), join(debugDir, basename(path)))
294294
}
295295
}
296+
throw error
296297
}
297298
const output = await readFile(join(siteDir, outputFile), 'utf-8')
298299

@@ -411,14 +412,12 @@ export const fixtureFactories = {
411412
serverComponents: () => createE2EFixture('server-components'),
412413
nxIntegrated: () =>
413414
createE2EFixture('nx-integrated', {
414-
packageManger: 'pnpm',
415415
packagePath: 'apps/next-app',
416416
buildCommand: 'nx run next-app:build --verbose',
417417
publishDirectory: 'dist/apps/next-app/.next',
418418
}),
419419
nxIntegratedDistDir: () =>
420420
createE2EFixture('nx-integrated', {
421-
packageManger: 'pnpm',
422421
packagePath: 'apps/custom-dist-dir',
423422
buildCommand: 'nx run custom-dist-dir:build --verbose',
424423
publishDirectory: 'dist/apps/custom-dist-dir/dist',

0 commit comments

Comments
 (0)