first commit
This commit is contained in:
29
calcom/packages/features/get-cal-video-reference.test.ts
Normal file
29
calcom/packages/features/get-cal-video-reference.test.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
|
||||
import { getCalVideoReference } from "./get-cal-video-reference";
|
||||
|
||||
describe("Cal Video", () => {
|
||||
it("should load latest cal video reference", () => {
|
||||
expect(
|
||||
getCalVideoReference([
|
||||
{
|
||||
uid: "UID1",
|
||||
type: "daily_video",
|
||||
meetingUrl: "ID1",
|
||||
meetingPassword: "P1",
|
||||
},
|
||||
{
|
||||
uid: "UID2",
|
||||
type: "daily_video",
|
||||
meetingUrl: "ID2",
|
||||
meetingPassword: "P2",
|
||||
},
|
||||
])
|
||||
).toEqual({
|
||||
uid: "UID2",
|
||||
type: "daily_video",
|
||||
meetingUrl: "ID2",
|
||||
meetingPassword: "P2",
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user