1
- import { LocalVariables , DebugSession , FrameVariables } from '../../src/integrations/localvariables' ;
2
- import { InspectorNotification , Debugger } from 'inspector' ;
3
- import { EventProcessor , ClientOptions } from '@sentry/types' ;
4
- import { getDefaultNodeClientOptions } from '../helper/node-client-options' ;
1
+ import { ClientOptions , EventProcessor } from '@sentry/types' ;
2
+ import { Debugger , InspectorNotification } from 'inspector' ;
5
3
import { LRUMap } from 'lru_map' ;
6
4
7
5
import { defaultStackParser } from '../../src' ;
6
+ import { DebugSession , FrameVariables , LocalVariables } from '../../src/integrations/localvariables' ;
7
+ import { getDefaultNodeClientOptions } from '../helper/node-client-options' ;
8
8
9
9
interface ThrowOn {
10
10
configureAndConnect ?: boolean ;
@@ -116,7 +116,7 @@ describe('LocalVariables', () => {
116
116
_experiments : { includeStackLocals : true } ,
117
117
} ) ;
118
118
119
- var eventProcessor : EventProcessor | undefined ;
119
+ let eventProcessor : EventProcessor | undefined ;
120
120
121
121
( localVariables as unknown as LocalVariablesPrivate ) . _setup ( callback => {
122
122
eventProcessor = callback ;
@@ -128,7 +128,7 @@ describe('LocalVariables', () => {
128
128
129
129
expect ( ( localVariables as unknown as LocalVariablesPrivate ) . _cachedFrames . size ) . toBe ( 1 ) ;
130
130
131
- var frames : Promise < FrameVariables [ ] > | undefined ;
131
+ let frames : Promise < FrameVariables [ ] > | undefined ;
132
132
133
133
( localVariables as unknown as LocalVariablesPrivate ) . _cachedFrames . forEach ( promise => {
134
134
frames = promise ;
@@ -234,7 +234,7 @@ describe('LocalVariables', () => {
234
234
_experiments : { includeStackLocals : false } ,
235
235
} ) ;
236
236
237
- var eventProcessor : EventProcessor | undefined ;
237
+ let eventProcessor : EventProcessor | undefined ;
238
238
239
239
( localVariables as unknown as LocalVariablesPrivate ) . _setup ( callback => {
240
240
eventProcessor = callback ;
0 commit comments