Versions in this module Expand all Collapse all v0 v0.0.2 Apr 25, 2026 v0.0.1 Apr 11, 2026 Changes in this version + type FileMap map[string]any + func GetFileMapWithBuild(files FileMap, commandLineArgs []string) FileMap + type TestClock struct + func (t *TestClock) Now() time.Time + func (t *TestClock) SinceStart() time.Duration + type TestSys struct + func NewTscSystem(files FileMap, useCaseSensitiveFileNames bool, cwd string) *TestSys + func (s *TestSys) DefaultLibraryPath() string + func (s *TestSys) FS() vfs.FS + func (s *TestSys) GetCurrentDirectory() string + func (s *TestSys) GetEnvironmentVariable(name string) string + func (s *TestSys) GetTrace(w io.Writer, locale locale.Locale) func(msg *diagnostics.Message, args ...any) + func (s *TestSys) GetWidthOfTerminal() int + func (s *TestSys) Now() time.Time + func (s *TestSys) OnBuildStatusReportEnd(w io.Writer) + func (s *TestSys) OnBuildStatusReportStart(w io.Writer) + func (s *TestSys) OnEmittedFiles(result *compiler.EmitResult, ...) + func (s *TestSys) OnListFilesEnd(w io.Writer) + func (s *TestSys) OnListFilesStart(w io.Writer) + func (s *TestSys) OnProgram(program *incremental.Program) + func (s *TestSys) OnStatisticsEnd(w io.Writer) + func (s *TestSys) OnStatisticsStart(w io.Writer) + func (s *TestSys) OnWatchStatusReportEnd() + func (s *TestSys) OnWatchStatusReportStart() + func (s *TestSys) SinceStart() time.Duration + func (s *TestSys) WriteOutputIsTTY() bool + func (s *TestSys) Writer() io.Writer