vendor tsgo
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// Code generated by convertFourslash; DO NOT EDIT.
|
||||
// To modify this test, run "npm run makemanual findAllRefsForUMDModuleAlias1"
|
||||
|
||||
package fourslash_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/fourslash"
|
||||
"github.com/microsoft/typescript-go/internal/testutil"
|
||||
)
|
||||
|
||||
func TestFindAllRefsForUMDModuleAlias1(t *testing.T) {
|
||||
fourslash.SkipIfFailing(t)
|
||||
t.Parallel()
|
||||
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
||||
const content = `// @Filename: 0.d.ts
|
||||
export function doThing(): string;
|
||||
export function doTheOtherThing(): void;
|
||||
/*1*/export as namespace /*2*/myLib;
|
||||
// @Filename: 1.ts
|
||||
/// <reference path="0.d.ts" />
|
||||
/*3*/myLib.doThing();`
|
||||
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
||||
defer done()
|
||||
f.VerifyBaselineFindAllReferences(t, "1", "2", "3")
|
||||
}
|
||||
Reference in New Issue
Block a user