vendor tsgo
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
// Code generated by convertFourslash; DO NOT EDIT.
|
||||
// To modify this test, run "npm run makemanual selfReferencedExternalModule2"
|
||||
|
||||
package fourslash_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/fourslash"
|
||||
"github.com/microsoft/typescript-go/internal/testutil"
|
||||
)
|
||||
|
||||
func TestSelfReferencedExternalModule2(t *testing.T) {
|
||||
fourslash.SkipIfFailing(t)
|
||||
t.Parallel()
|
||||
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
||||
const content = `// @Filename: app.ts
|
||||
export import A = require('./app2');
|
||||
export var I = 1;
|
||||
A./*1*/Y;
|
||||
A.B.A.B./*2*/I;
|
||||
// @Filename: app2.ts
|
||||
export import B = require('./app');
|
||||
export var Y = 1;`
|
||||
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
||||
defer done()
|
||||
f.VerifyQuickInfoAt(t, "1", "var A.Y: number", "")
|
||||
f.VerifyQuickInfoAt(t, "2", "var I: number", "")
|
||||
}
|
||||
Reference in New Issue
Block a user