mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-28 03:20:11 +00:00
- Remove standalone pulse-assistant architecture doc (content lives in CLAUDE.md) - Add CountdownTimer component for patrol schedule display - Rewrite patrol handler test to focus on interval persistence - Extract MockStateProvider to shared test file
14 lines
305 B
Go
14 lines
305 B
Go
package api
|
|
|
|
import (
|
|
"github.com/rcourtman/pulse-go-rewrite/internal/models"
|
|
)
|
|
|
|
// MockStateProvider is a mock implementation of ai.StateProvider for API tests
|
|
type MockStateProvider struct {
|
|
State models.StateSnapshot
|
|
}
|
|
|
|
func (m *MockStateProvider) GetState() models.StateSnapshot {
|
|
return m.State
|
|
}
|