File tree Expand file tree Collapse file tree 4 files changed +25
-1
lines changed
dev-packages/e2e-tests/test-applications Expand file tree Collapse file tree 4 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 1+ import * as fs from 'fs' ;
2+ import * as path from 'path' ;
13import { startEventProxyServer } from '@sentry-internal/test-utils' ;
24
5+ const packageJson = JSON . parse ( fs . readFileSync ( path . join ( process . cwd ( ) , 'package.json' ) ) ) ;
6+
37startEventProxyServer ( {
48 port : 3031 ,
59 proxyServerName : 'nextjs-13' ,
10+ envelopeDumpPath : path . join (
11+ process . cwd ( ) ,
12+ `event-dumps/next-13-v${ packageJson . dependencies . next } -${ process . env . TEST_ENV } .dump` ,
13+ ) ,
614} ) ;
Original file line number Diff line number Diff line change 1+ import * as fs from 'fs' ;
2+ import * as path from 'path' ;
13import { startEventProxyServer } from '@sentry-internal/test-utils' ;
24
5+ const packageJson = JSON . parse ( fs . readFileSync ( path . join ( process . cwd ( ) , 'package.json' ) ) ) ;
6+
37startEventProxyServer ( {
48 port : 3031 ,
59 proxyServerName : 'nextjs-14' ,
10+ envelopeDumpPath : path . join (
11+ process . cwd ( ) ,
12+ `event-dumps/next-14-v${ packageJson . dependencies . next } -${ process . env . TEST_ENV } .dump` ,
13+ ) ,
614} ) ;
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ startEventProxyServer({
99 proxyServerName : 'nextjs-15' ,
1010 envelopeDumpPath : path . join (
1111 process . cwd ( ) ,
12- `event-dumps/next-${ packageJson . dependencies . next } -${ process . env . TEST_ENV } .dump` ,
12+ `event-dumps/next-15-v ${ packageJson . dependencies . next } -${ process . env . TEST_ENV } .dump` ,
1313 ) ,
1414} ) ;
Original file line number Diff line number Diff line change 1+ import * as fs from 'fs' ;
2+ import * as path from 'path' ;
13import { startEventProxyServer } from '@sentry-internal/test-utils' ;
24
5+ const packageJson = JSON . parse ( fs . readFileSync ( path . join ( process . cwd ( ) , 'package.json' ) ) ) ;
6+
37startEventProxyServer ( {
48 port : 3031 ,
59 proxyServerName : 'nextjs-app-dir' ,
10+ envelopeDumpPath : path . join (
11+ process . cwd ( ) ,
12+ `event-dumps/next-app-dir-v${ packageJson . dependencies . next } -${ process . env . TEST_ENV } .dump` ,
13+ ) ,
614} ) ;
You can’t perform that action at this time.
0 commit comments