Skip to content

Commit aa11eca

Browse files
committed
lint
1 parent eb1d1b1 commit aa11eca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/test/features/terminal/terminalManager.unit.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as fsapi from 'fs-extra';
66
import * as os from 'os';
77
import * as path from 'path';
88
import * as sinon from 'sinon';
9-
import { Disposable, Event, EventEmitter, Progress, Terminal, TerminalOptions, Uri } from 'vscode';
9+
import { Disposable, Event, EventEmitter, Progress, Terminal, TerminalOptions, Uri, WorkspaceConfiguration } from 'vscode';
1010
import { PythonEnvironment } from '../../../api';
1111
import * as windowApis from '../../../common/window.apis';
1212
import * as workspaceApis from '../../../common/workspace.apis';
@@ -274,8 +274,8 @@ suite('TerminalManager - terminal naming', () => {
274274
const projectUri = Uri.file(projectPath);
275275
const fileUri = Uri.file(filePath);
276276

277-
const config = { get: sinon.stub().returns(false) };
278-
sinon.stub(workspaceApis, 'getConfiguration').returns(config as any);
277+
const config = { get: sinon.stub().returns(false) } as unknown as WorkspaceConfiguration;
278+
sinon.stub(workspaceApis, 'getConfiguration').returns(config);
279279

280280
try {
281281
await terminalManager.getDedicatedTerminal(fileUri, projectUri, env);

0 commit comments

Comments
 (0)