mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
20 lines
626 B
JavaScript
20 lines
626 B
JavaScript
"use strict";
|
|
|
|
describe("chrome.cast.SenderApplication", () => {
|
|
it("should have all properties", async () => {
|
|
const senderApplication = new chrome.cast.SenderApplication();
|
|
|
|
expect(senderApplication.platform).toBe(undefined);
|
|
expect(senderApplication.url).toBe(null);
|
|
expect(senderApplication.packageId).toBe(null);
|
|
});
|
|
|
|
it("should have expected assigned properties", async () => {
|
|
const senderApplication = new chrome.cast.SenderApplication(
|
|
chrome.cast.SenderPlatform.CHROME
|
|
);
|
|
|
|
expect(senderApplication.platform).toBe("chrome");
|
|
});
|
|
});
|