Files
kjol/tools/tsgo/internal/fourslash/tests/gen/findAllRefsOnDefinition2_test.go
2026-07-09 16:50:43 -04:00

33 lines
908 B
Go

// Code generated by convertFourslash; DO NOT EDIT.
// To modify this test, run "npm run makemanual findAllRefsOnDefinition2"
package fourslash_test
import (
"testing"
"github.com/microsoft/typescript-go/internal/fourslash"
"github.com/microsoft/typescript-go/internal/testutil"
)
func TestFindAllRefsOnDefinition2(t *testing.T) {
fourslash.SkipIfFailing(t)
t.Parallel()
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
const content = `//@Filename: findAllRefsOnDefinition2-import.ts
export module Test{
/*1*/export interface /*2*/start { }
export interface stop { }
}
//@Filename: findAllRefsOnDefinition2.ts
import Second = require("./findAllRefsOnDefinition2-import");
var start: Second.Test./*3*/start;
var stop: Second.Test.stop;`
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
defer done()
f.VerifyBaselineFindAllReferences(t, "1", "2", "3")
}