Skip to content

Commit d0180fc

Browse files
committed
I miss test lint warnings
1 parent e2b1f71 commit d0180fc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/node/test/integrations/localvariables.test.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
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';
53
import { LRUMap } from 'lru_map';
64

75
import { defaultStackParser } from '../../src';
6+
import { DebugSession, FrameVariables,LocalVariables } from '../../src/integrations/localvariables';
7+
import { getDefaultNodeClientOptions } from '../helper/node-client-options';
88

99
interface 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

Comments
 (0)