@@ -6,7 +6,7 @@ import sinon from 'sinon'
66import { commands , languages } from 'vscode'
77import assert from 'assert'
88import { LanguageClient } from 'vscode-languageclient'
9- import { AmazonQInlineCompletionItemProvider , InlineCompletionManager } from '../../../../../src/app/inline/completion'
9+ import { InlineCompletionManager } from '../../../../../src/app/inline/completion'
1010
1111describe ( 'InlineCompletionManager' , ( ) => {
1212 let manager : InlineCompletionManager
@@ -28,7 +28,6 @@ describe('InlineCompletionManager', () => {
2828 executeCommandStub = sandbox . stub ( commands , 'executeCommand' )
2929 sendNotificationStub = sandbox . stub ( )
3030
31- // Create mock disposable
3231 const mockDisposable = {
3332 dispose : sandbox . stub ( ) ,
3433 }
@@ -48,25 +47,6 @@ describe('InlineCompletionManager', () => {
4847 sandbox . restore ( )
4948 } )
5049
51- describe ( 'constructor' , ( ) => {
52- it ( 'should initialize with language client and register provider' , ( ) => {
53- assert ( registerProviderStub . calledOnce )
54- assert (
55- registerProviderStub . calledWith (
56- sinon . match . any ,
57- sinon . match . instanceOf ( AmazonQInlineCompletionItemProvider )
58- )
59- )
60- } )
61- } )
62-
63- describe ( 'dispose' , ( ) => {
64- it ( 'should dispose of the disposable' , ( ) => {
65- manager . dispose ( )
66- assert ( disposableStub . calledOnce )
67- } )
68- } )
69-
7050 describe ( 'registerInlineCompletion' , ( ) => {
7151 beforeEach ( ( ) => {
7252 manager . registerInlineCompletion ( )
0 commit comments