Files
kjol/tools/tsgo/internal/fourslash/tests/gen/docCommentTemplateWithExistingJSDoc_test.go
2026-07-09 16:50:43 -04:00

32 lines
830 B
Go

// Code generated by convertFourslash; DO NOT EDIT.
// To modify this test, run "npm run makemanual docCommentTemplateWithExistingJSDoc"
package fourslash_test
import (
"testing"
"github.com/microsoft/typescript-go/internal/fourslash"
"github.com/microsoft/typescript-go/internal/testutil"
)
func TestDocCommentTemplateWithExistingJSDoc(t *testing.T) {
fourslash.SkipIfFailing(t)
t.Parallel()
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
const content = `/** /**/ */
/**
* @param {string} a
* @param {string} b
*/
function foo(a, b) {
return a + b;
}`
capabilities := fourslash.GetDefaultCapabilities()
capabilities.TextDocument.Completion.CompletionItem.SnippetSupport = new(false)
f, done := fourslash.NewFourslash(t, capabilities, content)
defer done()
f.VerifyNoJSDocCompletion(t, "")
}