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

27 lines
673 B
Go

package fourslash_test
import (
"testing"
"efprojects.com/kitten-ipc/kitcom/internal/tsgo/fourslash"
"efprojects.com/kitten-ipc/kitcom/internal/tsgo/testutil"
)
func TestQuickInfoJsPropertyAssignedAfterMethodDeclaration(t *testing.T) {
t.Parallel()
t.Skip()
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
const content = `// @noLib: true
// @allowJs: true
// @noImplicitThis: true
// @Filename: /a.js
const o = {
test/*1*/() {
this./*2*/test = 0;
}
};`
f := fourslash.NewFourslash(t, nil /*capabilities*/, content)
f.VerifyQuickInfoAt(t, "1", "(method) test(): void", "")
f.VerifyQuickInfoAt(t, "2", "(method) test(): void", "")
}