Skip to content

Commit 93a91cc

Browse files
authored
test(prisma): Move to yarn prisma (#18975)
`yarn prisma` is better to use since it uses the correct `node_modules` path. Without it it may break at some point since the global package could be different at some point. Closes #18976 (added automatically)
1 parent b0add63 commit 93a91cc

File tree

1 file changed

+1
-1
lines changed
  • dev-packages/node-integration-tests/suites/tracing/prisma-orm-v7

1 file changed

+1
-1
lines changed

dev-packages/node-integration-tests/suites/tracing/prisma-orm-v7/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ conditionalTest({ min: 20 })('Prisma ORM v7 Tests', () => {
1818
.withDockerCompose({
1919
workingDirectory: [cwd],
2020
readyMatches: ['port 5432'],
21-
setupCommand: `prisma generate --schema ${cwd}/prisma/schema.prisma && tsc -p ${cwd}/prisma/tsconfig.json && prisma migrate dev -n sentry-test --schema ${cwd}/prisma/schema.prisma`,
21+
setupCommand: `yarn prisma generate --schema ${cwd}/prisma/schema.prisma && tsc -p ${cwd}/prisma/tsconfig.json && yarn prisma migrate dev -n sentry-test --schema ${cwd}/prisma/schema.prisma`,
2222
})
2323
.expect({
2424
transaction: transaction => {

0 commit comments

Comments
 (0)