Files
fx_cast/test/spec/shim/cast/SenderApplication.spec.js
2019-01-12 10:12:10 +00:00

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