From 149fe780589c15de1225ca54593b035245160ed3 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Wed, 30 Oct 2024 11:30:17 -0700 Subject: [PATCH] more --- .../integrationTests/codeactions.integration.test.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/lsptoolshost/integrationTests/codeactions.integration.test.ts b/test/lsptoolshost/integrationTests/codeactions.integration.test.ts index 8874dc462b..708860ddbb 100644 --- a/test/lsptoolshost/integrationTests/codeactions.integration.test.ts +++ b/test/lsptoolshost/integrationTests/codeactions.integration.test.ts @@ -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); @@ -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;