// Code generated by convertFourslash; DO NOT EDIT.
// To modify this test, run "npm run makemanual goToSource13_nodenext"

package fourslash_test

import (
	"testing"

	"github.com/microsoft/typescript-go/internal/fourslash"
	"github.com/microsoft/typescript-go/internal/testutil"
)

func TestGoToSource13_nodenext(t *testing.T) {
	fourslash.SkipIfFailing(t)
	t.Parallel()
	defer testutil.RecoverAndFail(t, "Panic on fourslash test")
	const content = `// @Filename: /home/src/workspaces/project/node_modules/left-pad/package.json
{
  "name": "left-pad",
  "version": "1.3.0",
  "description": "String left pad",
  "main": "index.js",
  "types": "index.d.ts"
}
// @Filename: /home/src/workspaces/project/node_modules/left-pad/index.d.ts
declare function leftPad(str: string|number, len: number, ch?: string|number): string;
declare namespace leftPad { }
export = leftPad;
// @Filename: /home/src/workspaces/project/node_modules/left-pad/index.js
module.exports = leftPad;
function /*end*/leftPad(str, len, ch) {}
// @Filename: /home/src/workspaces/project/tsconfig.json
{
  "compilerOptions": {
      "module": "node16",
      "lib": ["es5"],
      "strict": true,
      "outDir": "./out",

  }
}
// @Filename: /home/src/workspaces/project/index.mts
import leftPad = require("left-pad");
/*start*/leftPad("", 4);`
	f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
	defer done()
	f.MarkTestAsStradaServer()
	f.VerifyBaselineGoToSourceDefinition(t, "start")
}
