mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 02:29:59 +00:00
Add prettier and re-format .js files
This commit is contained in:
@@ -5,7 +5,7 @@ describe("chrome.cast.SessionRequest", () => {
|
||||
const sessionRequest = new chrome.cast.SessionRequest();
|
||||
|
||||
expect(sessionRequest.appId).toBe(undefined);
|
||||
expect(sessionRequest.capabilities).toEqual([ "video_out", "audio_out" ]);
|
||||
expect(sessionRequest.capabilities).toEqual(["video_out", "audio_out"]);
|
||||
expect(sessionRequest.dialRequest).toBe(null);
|
||||
expect(sessionRequest.language).toBe(null);
|
||||
expect(sessionRequest.requestSessionTimeout).toBe(60000);
|
||||
@@ -13,13 +13,13 @@ describe("chrome.cast.SessionRequest", () => {
|
||||
|
||||
it("should have expected assigned properties", async () => {
|
||||
const sessionRequest = new chrome.cast.SessionRequest(
|
||||
"__appId"
|
||||
, [ chrome.cast.Capability.VIDEO_OUT
|
||||
, chrome.cast.Capability.AUDIO_IN ]
|
||||
, 5000);
|
||||
"__appId",
|
||||
[chrome.cast.Capability.VIDEO_OUT, chrome.cast.Capability.AUDIO_IN],
|
||||
5000
|
||||
);
|
||||
|
||||
expect(sessionRequest.appId).toBe("__appId");
|
||||
expect(sessionRequest.capabilities).toEqual([ "video_out", "audio_in" ]);
|
||||
expect(sessionRequest.capabilities).toEqual(["video_out", "audio_in"]);
|
||||
expect(sessionRequest.requestSessionTimeout).toBe(5000);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user