mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-13 12:56:05 +00:00
* chore(lint): reduce underscore-dangle exceptions * chore(lint): reduce more underscore exceptions * chore(lint): remove underscore-dangle allow list * fix(lint): repair underscore cleanup regressions * test(lint): track version define suppression
13 lines
427 B
TypeScript
13 lines
427 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { testing } from "./cli.js";
|
|
|
|
describe("voice-call CLI gateway fallback", () => {
|
|
it("treats abnormal local gateway closes as standalone-runtime fallback candidates", () => {
|
|
expect(
|
|
testing.isGatewayUnavailableForLocalFallback(
|
|
new Error("gateway closed (1006 abnormal closure (no close frame)): no close reason"),
|
|
),
|
|
).toBe(true);
|
|
});
|
|
});
|