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' ;
53import { LRUMap } from 'lru_map' ;
64
75import { defaultStackParser } from '../../src' ;
6+ import { DebugSession , FrameVariables , LocalVariables } from '../../src/integrations/localvariables' ;
7+ import { getDefaultNodeClientOptions } from '../helper/node-client-options' ;
88
99interface ThrowOn {
1010 configureAndConnect ?: boolean ;
@@ -116,7 +116,7 @@ describe('LocalVariables', () => {
116116 _experiments : { includeStackLocals : true } ,
117117 } ) ;
118118
119- var eventProcessor : EventProcessor | undefined ;
119+ let eventProcessor : EventProcessor | undefined ;
120120
121121 ( localVariables as unknown as LocalVariablesPrivate ) . _setup ( callback => {
122122 eventProcessor = callback ;
@@ -128,7 +128,7 @@ describe('LocalVariables', () => {
128128
129129 expect ( ( localVariables as unknown as LocalVariablesPrivate ) . _cachedFrames . size ) . toBe ( 1 ) ;
130130
131- var frames : Promise < FrameVariables [ ] > | undefined ;
131+ let frames : Promise < FrameVariables [ ] > | undefined ;
132132
133133 ( localVariables as unknown as LocalVariablesPrivate ) . _cachedFrames . forEach ( promise => {
134134 frames = promise ;
@@ -234,7 +234,7 @@ describe('LocalVariables', () => {
234234 _experiments : { includeStackLocals : false } ,
235235 } ) ;
236236
237- var eventProcessor : EventProcessor | undefined ;
237+ let eventProcessor : EventProcessor | undefined ;
238238
239239 ( localVariables as unknown as LocalVariablesPrivate ) . _setup ( callback => {
240240 eventProcessor = callback ;
0 commit comments