mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-01 21:10:13 +00:00
Chore: clean up staged changes for release
- 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
This commit is contained in:
parent
c8483f8116
commit
744eeb0270
5 changed files with 121 additions and 1464 deletions
14
internal/api/mock_state_provider_test.go
Normal file
14
internal/api/mock_state_provider_test.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue