// Code generated by convertFourslash; DO NOT EDIT. // To modify this test, run "npm run makemanual quickInfoOnUndefined" package fourslash_test import ( "testing" "github.com/microsoft/typescript-go/internal/fourslash" "github.com/microsoft/typescript-go/internal/testutil" ) func TestQuickInfoOnUndefined(t *testing.T) { fourslash.SkipIfFailing(t) t.Parallel() defer testutil.RecoverAndFail(t, "Panic on fourslash test") const content = `function foo(a: string) { } foo(/*1*/undefined); var x = { undefined: 10 }; x./*2*/undefined = 30;` f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content) defer done() f.VerifyQuickInfoAt(t, "1", "var undefined", "") f.VerifyQuickInfoAt(t, "2", "(property) undefined: number", "") }