28 lines
628 B
Go
28 lines
628 B
Go
package fourslash_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"efprojects.com/kitten-ipc/kitcom/internal/tsgo/fourslash"
|
|
"efprojects.com/kitten-ipc/kitcom/internal/tsgo/testutil"
|
|
)
|
|
|
|
func TestQuickInfoInheritDoc6(t *testing.T) {
|
|
t.Parallel()
|
|
|
|
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
|
const content = `// @allowJs: true
|
|
// @checkJs: true
|
|
// @Filename: quickInfoInheritDoc6.js
|
|
class B extends UNRESOLVED_VALUE_DEFINITELY_DOES_NOT_EXIST {
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
static /**/value() {
|
|
return undefined;
|
|
}
|
|
}`
|
|
f := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
|
f.VerifyBaselineHover(t)
|
|
}
|