MCPcopy Create free account
hub / github.com/continuedev/continue / getCodeLensWithRetry

Function getCodeLensWithRetry

extensions/vscode/e2e/tests/Edit.test.ts:70–77  ·  view source on GitHub ↗
(editor: TextEditor, text: string)

Source from the content-addressed store, hash-verified

68 });
69
70 async function getCodeLensWithRetry(editor: TextEditor, text: string) {
71 let codeLens: CodeLens | undefined;
72 await TestUtils.waitForSuccess(async () => {
73 codeLens = await editor.getCodeLens(text);
74 expect(codeLens).to.not.be.undefined;
75 }, DEFAULT_TIMEOUT.SM);
76 return codeLens;
77 }
78
79 it.only("Accepts an Edit in the GUI", async () => {
80 ({ view } = await GUIActions.switchToReactIframe());

Callers 1

Edit.test.tsFile · 0.85

Calls 1

waitForSuccessMethod · 0.80

Tested by

no test coverage detected