Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
dibarbet committed Oct 30, 2024
1 parent 440c4c8 commit 149fe78
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ describe(`Code Actions Tests`, () => {
});

test('Lightbulb displays actions', async () => {
console.log('LIGHTBULB TEST');
const actions = await getCodeActions(new vscode.Range(0, 0, 0, 12));
expect(actions.length).toBeGreaterThanOrEqual(3);
console.log(actions.length);
Expand Down Expand Up @@ -321,10 +322,12 @@ async function getCodeActions(
resolveCount
);

console.log(JSON.stringify(codeActions, null, 4));

const moreAction = codeActions.find((a) => a.title === 'More...');
if (moreAction) {
console.log('More actions available');
console.log(JSON.stringify(moreAction));
console.log(JSON.stringify(moreAction, null, 4));
}

return codeActions;
Expand Down

0 comments on commit 149fe78

Please sign in to comment.