Files
fx_cast/test/spec/shim/cast/SenderApplication.spec.js
2021-08-31 07:59:58 +01:00

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");
});
});