vendor tsgo
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
// Code generated by convertFourslash; DO NOT EDIT.
|
||||
// To modify this test, run "npm run makemanual rewriteRelativeImportExtensionsProjectReferences3"
|
||||
|
||||
package fourslash_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/fourslash"
|
||||
"github.com/microsoft/typescript-go/internal/testutil"
|
||||
)
|
||||
|
||||
func TestRewriteRelativeImportExtensionsProjectReferences3(t *testing.T) {
|
||||
fourslash.SkipIfFailing(t)
|
||||
t.Parallel()
|
||||
defer testutil.RecoverAndFail(t, "Panic on fourslash test")
|
||||
const content = `// @Filename: src/tsconfig-base.json
|
||||
{
|
||||
"compilerOptions": {
|
||||
"lib": ["es5"],
|
||||
"module": "nodenext",
|
||||
"composite": true,
|
||||
"rewriteRelativeImportExtensions": true,
|
||||
}
|
||||
}
|
||||
// @Filename: src/compiler/tsconfig.json
|
||||
{
|
||||
"extends": "../tsconfig-base.json",
|
||||
"compilerOptions": {
|
||||
"lib": ["es5"],
|
||||
"rootDir": ".",
|
||||
"outDir": "../../dist/compiler",
|
||||
}
|
||||
// @Filename: src/compiler/parser.ts
|
||||
export {};
|
||||
// @Filename: src/services/tsconfig.json
|
||||
{
|
||||
"extends": "../tsconfig-base.json",
|
||||
"compilerOptions": {
|
||||
"lib": ["es5"],
|
||||
"rootDir": ".",
|
||||
"outDir": "../../dist/services",
|
||||
},
|
||||
"references": [
|
||||
{ "path": "../compiler" }
|
||||
]
|
||||
}
|
||||
// @Filename: src/services/services.ts
|
||||
import {} from "../compiler/parser.ts";`
|
||||
f, done := fourslash.NewFourslash(t, nil /*capabilities*/, content)
|
||||
defer done()
|
||||
f.MarkTestAsStradaServer()
|
||||
f.GoToFile(t, "/src/services/services.ts")
|
||||
f.VerifyBaselineNonSuggestionDiagnostics(t)
|
||||
}
|
||||
Reference in New Issue
Block a user