vendor tsgo
This commit is contained in:
16
tools/tsgo/internal/testutil/fixtures/benchfixtures.go
Normal file
16
tools/tsgo/internal/testutil/fixtures/benchfixtures.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package fixtures
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
|
||||
"github.com/microsoft/typescript-go/internal/repo"
|
||||
"github.com/microsoft/typescript-go/internal/testutil/filefixture"
|
||||
)
|
||||
|
||||
var BenchFixtures = []filefixture.Fixture{
|
||||
filefixture.FromString("empty.ts", "empty.ts", ""),
|
||||
filefixture.FromFile("checker.ts", filepath.Join(repo.TypeScriptSubmodulePath(), "src/compiler/checker.ts")),
|
||||
filefixture.FromFile("dom.generated.d.ts", filepath.Join(repo.TypeScriptSubmodulePath(), "src/lib/dom.generated.d.ts")),
|
||||
filefixture.FromFile("Herebyfile.mjs", filepath.Join(repo.TypeScriptSubmodulePath(), "Herebyfile.mjs")),
|
||||
filefixture.FromFile("jsxComplexSignatureHasApplicabilityError.tsx", filepath.Join(repo.TypeScriptSubmodulePath(), "tests/cases/compiler/jsxComplexSignatureHasApplicabilityError.tsx")),
|
||||
}
|
||||
Reference in New Issue
Block a user