kittenipc/kitcom/internal/tsgo/fourslash/tests/gen/noQuickInfoInWhitespace_test.go
2025-10-15 10:12:44 +03:00

31 lines
751 B
Go

package fourslash_test
import (
"testing"
"efprojects.com/kitten-ipc/kitcom/internal/tsgo/fourslash"
"efprojects.com/kitten-ipc/kitcom/internal/tsgo/testutil"
)
func TestNoQuickInfoInWhitespace(t *testing.T) {
t.Parallel()
t.Skip()
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
const content = `class C {
/*1*/ private _mspointerupHandler(args) {
if (args.button === 3) {
return null;
/*2*/ } else if (args.button === 4) {
/*3*/ return null;
}
}
}`
f := fourslash.NewFourslash(t, nil /*capabilities*/, content)
f.GoToMarker(t, "1")
f.VerifyNotQuickInfoExists(t)
f.GoToMarker(t, "2")
f.VerifyNotQuickInfoExists(t)
f.GoToMarker(t, "3")
f.VerifyNotQuickInfoExists(t)
}