File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/collector/test/tracing/databases/prisma Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ describe('tracing/prisma', function () {
3131 providers . forEach ( provider => {
3232 const mochaSuiteFn = supportedVersion ( process . versions . node ) ? describe : describe . skip ;
3333
34- // V7 only support version v20.19 and above
35- if ( version === 'latest' && semver . lt ( process . versions . node , '20.19.0' ) ) {
34+ // V7 only supports Node.js versions 20.19+, 22.12+, 24.0+
35+ // https://github.com/prisma/prisma/blob/main/package.json#L7C1-L7C42
36+ const requiredNodeVersion = '^20.19.0 || ^22.12.0 || >=24.0' ;
37+ if ( version === 'latest' && ! semver . satisfies ( process . versions . node , requiredNodeVersion ) ) {
3638 return ;
3739 }
3840 // NOTE: require-mock is not working with esm apps. There is also no need to run the ESM APP for all versions.
You can’t perform that action at this time.
0 commit comments