mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 18:19:58 +00:00
20 lines
475 B
JavaScript
20 lines
475 B
JavaScript
"use strict";
|
|
|
|
const { create, destroy } = require("../driver");
|
|
|
|
|
|
describe("chrome", () => {
|
|
beforeEach(create.bind(this));
|
|
afterEach(destroy.bind(this));
|
|
|
|
it("should exist", async () => {
|
|
const chrome = await this.driver.executeScript(() => {
|
|
return window.chrome;
|
|
});
|
|
|
|
expect(typeof chrome).toBeDefined();
|
|
expect(typeof chrome.cast).toBeDefined();
|
|
expect(typeof chrome.cast.media).toBeDefined();
|
|
});
|
|
});
|