feat: add active SF and LA HQ environments
This commit is contained in:
@@ -22,8 +22,8 @@ const configured = (overrides: Partial<IceConfig> = {}): IceConfig => ({
|
||||
...overrides,
|
||||
});
|
||||
|
||||
const BINDING = { officeId: "lumbridge-hq", levelId: "level-1", roomId: "lobby", screenId: "lobby-monitor" } as const;
|
||||
const SECOND_BINDING = { officeId: "lumbridge-hq", levelId: "level-1", roomId: "open-floor", screenId: "open-display" } as const;
|
||||
const BINDING = { officeId: "lumbridge-hq", levelId: "level-1", roomId: "live-work", screenId: "lobby-monitor" } as const;
|
||||
const SECOND_BINDING = { officeId: "lumbridge-hq", levelId: "level-1", roomId: "live-work", screenId: "open-display" } as const;
|
||||
const PROVIDER_CREDENTIAL: ScreenShareCredential = {
|
||||
sessionId: "opaque-session", participantId: "opaque-participant", role: "presenter", grantToken: "opaque-grant-token-value",
|
||||
};
|
||||
|
||||
@@ -14,7 +14,7 @@ import type {
|
||||
} from "../../../src/media/signalingTypes.ts";
|
||||
|
||||
const BINDING: ScreenShareBinding = {
|
||||
officeId: "lumbridge-hq", levelId: "level-1", roomId: "lobby", screenId: "lobby-monitor",
|
||||
officeId: "lumbridge-hq", levelId: "level-1", roomId: "live-work", screenId: "lobby-monitor",
|
||||
};
|
||||
const create = (sequence = 1): ScreenShareCreateRequest => ({
|
||||
type: "screen-share-create-request", protocolVersion: 1, requestId: "request-create", sequence,
|
||||
@@ -193,7 +193,7 @@ describe("office media signaling service", () => {
|
||||
|
||||
it("validates the exact authored level, room and screen prop", () => {
|
||||
assert.equal(officeHasMediaBinding(LUMBRIDGE_HQ, BINDING), true);
|
||||
assert.equal(officeHasMediaBinding(LUMBRIDGE_HQ, { ...BINDING, roomId: "open-floor" }), false);
|
||||
assert.equal(officeHasMediaBinding(LUMBRIDGE_HQ, { ...BINDING, roomId: "kitchen" }), false);
|
||||
assert.equal(officeHasMediaBinding(LUMBRIDGE_HQ, { ...BINDING, screenId: "not-authored" }), false);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user