26 lines
576 B
Go
26 lines
576 B
Go
package fourslash_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"efprojects.com/kitten-ipc/kitcom/internal/tsgo/fourslash"
|
|
"efprojects.com/kitten-ipc/kitcom/internal/tsgo/testutil"
|
|
)
|
|
|
|
func TestQuickInfoUnionOfNamespaces(t *testing.T) {
|
|
t.Parallel()
|
|
t.Skip()
|
|
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
|
const content = `declare const x: typeof A | typeof B;
|
|
x./**/f;
|
|
|
|
namespace A {
|
|
export function f() {}
|
|
}
|
|
namespace B {
|
|
export function f() {}
|
|
}`
|
|
f := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
|
f.VerifyQuickInfoAt(t, "", "(method) f(): void", "")
|
|
}
|