vendor tsgo
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// Code generated by convertFourslash; DO NOT EDIT.
|
||||
// To modify this test, run "npm run makemanual quickInfoDisplayPartsExternalModuleAlias"
|
||||
|
||||
package fourslash_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/fourslash"
|
||||
"github.com/microsoft/typescript-go/internal/testutil"
|
||||
)
|
||||
|
||||
func TestQuickInfoDisplayPartsExternalModuleAlias(t *testing.T) {
|
||||
fourslash.SkipIfFailing(t)
|
||||
t.Parallel()
|
||||
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
||||
const content = `// @Filename: quickInfoDisplayPartsExternalModuleAlias_file0.ts
|
||||
export namespace m1 {
|
||||
export class c {
|
||||
}
|
||||
}
|
||||
// @Filename: quickInfoDisplayPartsExternalModuleAlias_file1.ts
|
||||
import /*1*/a1 = require(/*mod1*/"./quickInfoDisplayPartsExternalModuleAlias_file0");
|
||||
new /*2*/a1.m1.c();
|
||||
export import /*3*/a2 = require(/*mod2*/"./quickInfoDisplayPartsExternalModuleAlias_file0");
|
||||
new /*4*/a2.m1.c();`
|
||||
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
||||
defer done()
|
||||
f.VerifyBaselineHover(t)
|
||||
}
|
||||
Reference in New Issue
Block a user