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 referencesInConfiguredProject"
|
||||
|
||||
package fourslash_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/fourslash"
|
||||
"github.com/microsoft/typescript-go/internal/testutil"
|
||||
)
|
||||
|
||||
func TestReferencesInConfiguredProject(t *testing.T) {
|
||||
fourslash.SkipIfFailing(t)
|
||||
t.Parallel()
|
||||
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
||||
const content = `// @Filename: /home/src/workspaces/project/referencesForGlobals_1.ts
|
||||
class /*0*/globalClass {
|
||||
public f() { }
|
||||
}
|
||||
// @Filename: /home/src/workspaces/project/referencesForGlobals_2.ts
|
||||
var c = /*1*/globalClass();
|
||||
// @Filename: /home/src/workspaces/project/tsconfig.json
|
||||
{ "files": ["referencesForGlobals_1.ts", "referencesForGlobals_2.ts"], "compilerOptions": { "lib": ["es5"] } }`
|
||||
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
||||
defer done()
|
||||
f.MarkTestAsStradaServer()
|
||||
f.VerifyBaselineFindAllReferences(t, "1")
|
||||
}
|
||||
Reference in New Issue
Block a user