Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import { describe, expect, it } from "vitest";
import { zaloApprovalAuth } from "./approval-auth.js";
describe("zaloApprovalAuth", () => {
it("authorizes numeric Zalo user ids", () => {
const cfg = { channels: { zalo: { allowFrom: ["zl:123"] } } };
expect(
zaloApprovalAuth.authorizeActorAction({
cfg,
senderId: "123",
action: "approve",
approvalKind: "exec",
}),
).toEqual({ authorized: true });
});
});
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland