mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-08 08:39:59 +00:00
20 lines
632 B
JavaScript
20 lines
632 B
JavaScript
"use strict";
|
|
|
|
describe("chrome.cast.DialRequest", () => {
|
|
it("should have all properties", async () => {
|
|
const dialRequest = new chrome.cast.DialRequest();
|
|
|
|
expect(typeof dialRequest.appName).toBe("undefined");
|
|
expect(dialRequest.launchParameter).toBe(null);
|
|
});
|
|
|
|
it("should have expected assigned properties", async () => {
|
|
const dialRequest = new chrome.cast.DialRequest(
|
|
"testAppName"
|
|
, "testLaunchParameter");
|
|
|
|
expect(dialRequest.appName).toBe("testAppName");
|
|
expect(dialRequest.launchParameter).toBe("testLaunchParameter");
|
|
});
|
|
});
|