// Code generated by convertFourslash; DO NOT EDIT. // To modify this test, run "npm run makemanual goToSource1_localJsBesideDts" package fourslash_test import ( "testing" "github.com/microsoft/typescript-go/internal/fourslash" "github.com/microsoft/typescript-go/internal/testutil" ) func TestGoToSource1_localJsBesideDts(t *testing.T) { fourslash.SkipIfFailing(t) t.Parallel() defer testutil.RecoverAndFail(t, "Panic on fourslash test") const content = `// @lib: es5 // @Filename: /home/src/workspaces/project/a.js export const /*end*/a = "a"; // @Filename: /home/src/workspaces/project/a.d.ts export declare const a: string; // @Filename: /home/src/workspaces/project/index.ts import { a } from [|"./a"/*moduleSpecifier*/|]; [|a/*identifier*/|]` f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content) defer done() f.MarkTestAsStradaServer() f.VerifyBaselineGoToSourceDefinition(t, "identifier", "moduleSpecifier") }