File tree Expand file tree Collapse file tree
dev-packages/node-integration-tests/suites/modules Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { SDK_VERSION } from '@sentry/core' ;
22import { join } from 'path' ;
3- import { afterAll , describe , test } from 'vitest' ;
3+ import { afterAll , describe , expect , test } from 'vitest' ;
44import { cleanupChildProcesses , createRunner } from '../../utils/runner' ;
55
66describe ( 'modulesIntegration' , ( ) => {
@@ -15,7 +15,7 @@ describe('modulesIntegration', () => {
1515 event : {
1616 modules : {
1717 // exact version comes from require.caches
18- express : '4.21.1' ,
18+ express : expect . stringMatching ( / ^ 4 \. \d + \. \d + $ / ) ,
1919 // this comes from package.json
2020 '@sentry/node' : SDK_VERSION ,
2121 yargs : '^16.2.0' ,
@@ -35,7 +35,7 @@ describe('modulesIntegration', () => {
3535 event : {
3636 modules : {
3737 // this comes from package.json
38- express : '^4.21.1' ,
38+ express : expect . stringMatching ( / ^ \^ 4 \. \d + \. \d + $ / ) ,
3939 '@sentry/node' : SDK_VERSION ,
4040 yargs : '^16.2.0' ,
4141 } ,
You can’t perform that action at this time.
0 commit comments