Skip to content

Commit 75b7f09

Browse files
committed
test(tts): assert status handler
1 parent 95f3db5 commit 75b7f09

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/gateway/server-methods/tts.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ describe("ttsHandlers", () => {
180180
const observedTurns: string[] = [];
181181
setImmediate(() => observedTurns.push("sibling"));
182182

183-
await ttsHandlers["tts.status"]({
183+
await expectDefined(
184+
ttsHandlers["tts.status"],
185+
'ttsHandlers["tts.status"] test invariant',
186+
)({
184187
params: {},
185188
respond,
186189
context: { getRuntimeConfig: mocks.getRuntimeConfig },

0 commit comments

Comments
 (0)