mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Implement blank file tests + fix shim
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
"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");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user