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

package fourslash_test

import (
	"testing"

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

func TestQuickfixImplementInterfaceUnreachableTypeUsesRelativeImport(t *testing.T) {
	fourslash.SkipIfFailing(t)
	t.Parallel()
	defer testutil.RecoverAndFail(t, "Panic on fourslash test")
	const content = `// @Filename: class.ts
export class Class { }
// @Filename: interface.ts
import { Class } from './class';

export interface Foo {
    x: Class;
}
// @Filename: index.ts
import { Foo } from './interface';

class /*1*/X implements Foo {}`
	f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
	defer done()
	f.GoToMarker(t, "1")
	f.VerifyCodeFix(t, fourslash.VerifyCodeFixOptions{
		Description:    "Implement interface 'Foo'",
		NewFileContent: ``,
		Index:          0,
	})
}
