From 7e1c1d44169b732e153beeffc2a649522312b5d7 Mon Sep 17 00:00:00 2001 From: Valery Bugakov Date: Tue, 7 Jan 2025 18:07:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(audoedit):=20ts=20=F0=9F=99=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vscode/src/autoedits/renderer/manager.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vscode/src/autoedits/renderer/manager.test.ts b/vscode/src/autoedits/renderer/manager.test.ts index 5f05d1facac3..95b3a40fc097 100644 --- a/vscode/src/autoedits/renderer/manager.test.ts +++ b/vscode/src/autoedits/renderer/manager.test.ts @@ -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' import { getDecorationInfoFromPrediction } from '../autoedits-provider' import type { CodeToReplaceData } from '../prompt/prompt-utils' import { createCodeToReplaceDataForTest } from '../prompt/test-helper' @@ -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,