mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-07 00:37:36 +00:00
14 lines
309 B
Go
14 lines
309 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) ReadSnapshot() models.StateSnapshot {
|
|
return m.State
|
|
}
|