Kind: Class
Source: atloria-monorepo/libs/agent-core/src/autonomous/test-watcher.ts
Methods
| Method | Signature | Returns |
|---|---|---|
onFileEdited | onFileEdited(toolName: string) | void |
dispose | dispose() | void |
getLastResult | getLastResult() | `TestRunResult |
isRunning | isRunning() | boolean |
Where it refuses work
TestWatcherstops the work with an early return whenthis.disposed, in 3 places.TestWatcherstops the work with an early return when!this.config.enabled || this.disposed.TestWatcherstops the work with an early return when!LintTestLoop.isEditTool(toolName) && toolName !== 'create_file'.
When something fails
TestWatcherhandles failure in 5 places: it discards it silently in all 5.
Was this page helpful?