Spracherkennung für: .ts vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
import { describe, expect, it } from "vitest";
import { nextcloudTalkApprovalAuth } from "./approval-auth.js";
describe("nextcloudTalkApprovalAuth", () => {
it("matches Nextcloud Talk actor ids case-insensitively", () => {
const cfg = { channels: { "nextcloud-talk": { allowFrom: ["Owner"] } } };
expect(
nextcloudTalkApprovalAuth.authorizeActorAction({
cfg,
senderId: "owner",
action: "approve",
approvalKind: "exec",
}),
).toEqual({ authorized: true });
});
});
¤ Dauer der Verarbeitung: 0.0 Sekunden
(vorverarbeitet am 2026-04-27)
¤
*© Formatika GbR, Deutschland