This repository was archived by the owner on Aug 6, 2026. It is now read-only.
Commit b273d98
authored
test(sessions): mock SpeechNotifier in sessionServiceHost cloud-permission tests
Main's new terminal-cloud-run permission tests surface a cloud question,
which now flows through the always-on deterministic speak path
(speakDeterministic -> enqueueSpeech -> resolveService(SpeechNotifier)).
The test's resolveService fake didn't mock that token, so it threw
"unmocked token". Add a no-op SpeechNotifier mock alongside the existing
NotificationBus one.
Generated-By: PostHog Code
Task-Id: 779ce8fc-0ff8-46f5-abb0-90dcfa2537181 parent 02666a5 commit b273d98
1 file changed
Lines changed: 7 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
231 | 235 | | |
232 | 236 | | |
233 | 237 | | |
| |||
303 | 307 | | |
304 | 308 | | |
305 | 309 | | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
306 | 313 | | |
307 | 314 | | |
308 | 315 | | |
| |||
0 commit comments