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

package fourslash_test

import (
	"testing"

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

func TestGetEditsForFileRename_notAffectedByJsFile(t *testing.T) {
	fourslash.SkipIfFailing(t)
	t.Parallel()
	defer testutil.RecoverAndFail(t, "Panic on fourslash test")
	const content = `// @Filename: /a.ts
export const x = 0;
// @Filename: /a.js
exports.x = 0;
// @Filename: /b.ts
import { x } from "./a";`
	f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
	defer done()
	f.VerifyWillRenameFilesEdits(t, "/a.ts", "/a2.ts", map[string]string{
		"/b.ts": `import { x } from "./a2";`,
	}, nil /*preferences*/)
}
