mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-18 00:23:25 -06:00
129f86bbf5
* feat(meetings): auto-collect durable transcripts * chore(plugin-sdk): refresh meeting transcript API baseline * fix(plugin-sdk): keep meeting transcript options implicit * fix(meetings): satisfy transcript bridge typecheck * fix(google-meet): preserve optional caption policy context * fix(google-meet): retain caption mode callback type * refactor(meetings): split transcript lifecycle helpers * chore(plugin-sdk): refresh split meeting runtime baseline * refactor(google-meet): split session helpers * fix(meetings): decouple transcript retries from leave * fix(meetings): isolate provider subscribers * fix(meetings): harden capture lifecycle * fix(meetings): preserve capture during storage outages * fix(meetings): preserve pending transcript ordering * fix(meetings): retry capture initialization * test(agents): reflect default transcript registration
17 lines
643 B
TypeScript
17 lines
643 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { sanitizeTranscriptSourceLocator } from "./source-locator.js";
|
|
|
|
describe("sanitizeTranscriptSourceLocator", () => {
|
|
it("removes meeting invitation credentials and drops invalid locators", () => {
|
|
expect(
|
|
sanitizeTranscriptSourceLocator({
|
|
providerId: "zoom",
|
|
meetingUrl: "https://zoom.us/j/123?context=opaque-value#fragment",
|
|
}),
|
|
).toEqual({ providerId: "zoom", meetingUrl: "https://zoom.us/j/123" });
|
|
expect(
|
|
sanitizeTranscriptSourceLocator({ providerId: "zoom", meetingUrl: "not a URL" }),
|
|
).toEqual({ providerId: "zoom" });
|
|
});
|
|
});
|