mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 10:39:57 +00:00
Add prettier and re-format .js files
This commit is contained in:
@@ -16,17 +16,19 @@ describe("chrome.cast.ApiConfig", () => {
|
||||
|
||||
it("should have expected assigned properties", async () => {
|
||||
const sessionRequest = new chrome.cast.SessionRequest(
|
||||
chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID);
|
||||
chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID
|
||||
);
|
||||
|
||||
function sessionListener () {}
|
||||
function receiverListener () {}
|
||||
function sessionListener() {}
|
||||
function receiverListener() {}
|
||||
|
||||
const apiConfig = new chrome.cast.ApiConfig(
|
||||
sessionRequest
|
||||
, sessionListener
|
||||
, receiverListener
|
||||
, chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED
|
||||
, chrome.cast.DefaultActionPolicy.CAST_THIS_TAB);
|
||||
sessionRequest,
|
||||
sessionListener,
|
||||
receiverListener,
|
||||
chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED,
|
||||
chrome.cast.DefaultActionPolicy.CAST_THIS_TAB
|
||||
);
|
||||
|
||||
expect(typeof apiConfig.sessionListener).toBe("function");
|
||||
expect(typeof apiConfig.receiverListener).toBe("function");
|
||||
|
||||
Reference in New Issue
Block a user