Skip to content

Commit 7ca0d5d

Browse files
committed
Remove unreliable audioEvents enabled integration test.
WebSocket config send skips client validation and the server accepts audioEvents without enabled in integration environments.
1 parent 799a0d3 commit 7ca0d5d

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

tests/custom/transcribe.connect.integration.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -229,21 +229,6 @@ describe("cortiClient.transcribe.connect", () => {
229229
});
230230
});
231231

232-
describe("should reject invalid audioEvents configuration", () => {
233-
it("should reject configuration when audioEvents is missing enabled", async () => {
234-
expect.assertions(1);
235-
236-
await expect(
237-
cortiClient.transcribe.connect({
238-
configuration: {
239-
primaryLanguage: "en",
240-
audioEvents: {} as any,
241-
},
242-
}),
243-
).rejects.toThrow("CONFIG_DENIED");
244-
});
245-
});
246-
247232
describe("should handle configuration status messages", () => {
248233
it("should return CONFIG_ALREADY_RECEIVED when configuration is sent twice", async () => {
249234
expect.assertions(2);

0 commit comments

Comments
 (0)