File tree Expand file tree Collapse file tree 4 files changed +3
-11
lines changed
dev-packages/node-integration-tests/suites/tracing Expand file tree Collapse file tree 4 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
- // @ts -nocheck These are only tests
3
1
/* eslint-disable @typescript-eslint/naming-convention */
4
2
/* eslint-disable @typescript-eslint/explicit-member-accessibility */
5
3
import { loggingTransport , sendPortToRunner } from '@sentry-internal/node-integration-tests' ;
@@ -35,7 +33,7 @@ class AppController {
35
33
constructor ( private readonly appService : AppService ) { }
36
34
37
35
@Get ( 'test-exception/:id' )
38
- async testException ( @Param ( 'id' ) id : string ) : void {
36
+ async testException ( @Param ( 'id' ) id : string ) : Promise < void > {
39
37
Sentry . captureException ( new Error ( `error with id ${ id } ` ) ) ;
40
38
}
41
39
}
Original file line number Diff line number Diff line change 1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
- // @ts -nocheck These are only tests
3
1
/* eslint-disable @typescript-eslint/naming-convention */
4
2
/* eslint-disable @typescript-eslint/explicit-member-accessibility */
5
3
import { loggingTransport , sendPortToRunner } from '@sentry-internal/node-integration-tests' ;
@@ -33,7 +31,7 @@ class AppController {
33
31
constructor ( private readonly appService : AppService ) { }
34
32
35
33
@Get ( 'test-exception/:id' )
36
- async testException ( @Param ( 'id' ) id : string ) : void {
34
+ async testException ( @Param ( 'id' ) id : string ) : Promise < void > {
37
35
Sentry . captureException ( new Error ( `error with id ${ id } ` ) ) ;
38
36
}
39
37
}
Original file line number Diff line number Diff line change 1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
- // @ts -nocheck These are only tests
3
1
/* eslint-disable @typescript-eslint/naming-convention */
4
2
/* eslint-disable @typescript-eslint/explicit-member-accessibility */
5
3
import { loggingTransport , sendPortToRunner } from '@sentry-internal/node-integration-tests' ;
@@ -35,7 +33,7 @@ class AppController {
35
33
constructor ( private readonly appService : AppService ) { }
36
34
37
35
@Get ( 'test-exception/:id' )
38
- async testException ( @Param ( 'id' ) id : string ) : void {
36
+ async testException ( @Param ( 'id' ) id : string ) : Promise < void > {
39
37
Sentry . captureException ( new Error ( `error with id ${ id } ` ) ) ;
40
38
}
41
39
}
Original file line number Diff line number Diff line change 1
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
- // @ts -nocheck These are only tests
3
1
/* eslint-disable @typescript-eslint/naming-convention */
4
2
/* eslint-disable @typescript-eslint/explicit-member-accessibility */
5
3
import { loggingTransport , sendPortToRunner } from '@sentry-internal/node-integration-tests' ;
You can’t perform that action at this time.
0 commit comments