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