This removes the createCompletionItem function from the tests and just uses CompletionItem directly. This simplifies the tests, so we no longer need to update this function in two places as LSP changes.
CompletionItem requires label property which is added explicitly in the tests.
Description
This removes the
createCompletionItem
function from the tests and just usesCompletionItem
directly. This simplifies the tests, so we no longer need to update this function in two places as LSP changes.CompletionItem
requires label property which is added explicitly in the tests.