File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/datadog-plugin-prisma/test Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ describe('Plugin', () => {
2828 cwd + '/schema.prisma' ,
2929 )
3030 await agent . load ( 'prisma' )
31- execSync ( './node_modules/.bin/ prisma generate' , {
31+ execSync ( 'npx prisma generate' , {
3232 cwd, // Ensure the current working directory is where the schema is located
3333 stdio : 'inherit'
3434 } )
Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ describe('esm', () => {
3535 this . timeout ( 60000 )
3636 agent = await new FakeAgent ( ) . start ( )
3737 execSync (
38- './node_modules/.bin/ prisma migrate reset --force && ' +
39- './node_modules/.bin/ prisma db push --accept-data-loss && ' +
40- './node_modules/.bin/ prisma generate' ,
38+ 'npx prisma migrate reset --force && ' +
39+ 'npx prisma db push --accept-data-loss && ' +
40+ 'npx prisma generate' ,
4141 {
4242 cwd : sandbox . folder , // Ensure the current working directory is where the schema is located
4343 stdio : 'inherit'
You can’t perform that action at this time.
0 commit comments