From c0dba31fb040dc34fb793a29555db1d2f1a3e229 Mon Sep 17 00:00:00 2001 From: Oleksii Orlenko Date: Mon, 31 Aug 2026 18:45:09 +0200 Subject: [PATCH] test(e2e): run prisma init from the local tarball in the corepack test pnpm dlx prisma init fetches prisma@latest from the registry, which is Prisma 8 since mid-August and rejects the fixture Prisma 7 prisma.config.ts (CLI.CONFIG_MISSING_MARKER), so the test fails on every run. The fixture already installs the prisma tarball under test as a devDependency; run it with pnpm exec instead. Corepack coverage is unchanged: the CLI still runs through a corepack-managed pnpm. Signed-off-by: Oleksii Orlenko --- packages/client/tests/e2e/prisma-init-corepack/_steps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/tests/e2e/prisma-init-corepack/_steps.ts b/packages/client/tests/e2e/prisma-init-corepack/_steps.ts index 1e9c7d84105e..207e383799c4 100644 --- a/packages/client/tests/e2e/prisma-init-corepack/_steps.ts +++ b/packages/client/tests/e2e/prisma-init-corepack/_steps.ts @@ -8,7 +8,7 @@ void executeSteps({ await $`pnpm install` }, test: async () => { - await $`pnpm dlx prisma init` + await $`pnpm exec prisma init` }, finish: async () => { await $`echo "done"`