Skip to content

Commit

Permalink
feat(audoedit): ts 🙏
Browse files Browse the repository at this point in the history
  • Loading branch information
valerybugakov committed Jan 7, 2025
1 parent 1dfd5ba commit 7e1c1d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vscode/src/autoedits/renderer/manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { beforeEach, describe, expect, it } from 'vitest'
import type * as vscode from 'vscode'
import { getCurrentDocContext } from '../../completions/get-current-doc-context'
import { documentAndPosition } from '../../completions/test-helpers'
import { AutoeditRequestID } from '../analytics-logger'

Check failure on line 6 in vscode/src/autoedits/renderer/manager.test.ts

View workflow job for this annotation

GitHub Actions / build

All these imports are only used as types.
import { getDecorationInfoFromPrediction } from '../autoedits-provider'
import type { CodeToReplaceData } from '../prompt/prompt-utils'
import { createCodeToReplaceDataForTest } from '../prompt/test-helper'
Expand Down Expand Up @@ -43,6 +44,7 @@ describe('AutoEditsDefaultRendererManager', () => {
const codeToReplaceData = getCodeToReplaceForManager`${documentText}`
const decorationInfo = getDecorationInfoFromPrediction(document, prediction, codeToReplaceData)
return {
requestId: 'test-request-id' as AutoeditRequestID,
prediction,
codeToReplaceData,
document,
Expand Down

0 comments on commit 7e1c1d4

Please sign in to comment.