bigbluebutton-Github/bigbluebutton-html5/tests/puppeteer/webcam.test.js
2020-03-04 14:44:05 -03:00

18 lines
357 B
JavaScript

const Share = require('./webcam/share');
describe('Webcam', () => {
test('Shares webcam', async () => {
const test = new Share();
let response;
try {
await test.init();
response = await test.test();
} catch (e) {
console.log(e);
} finally {
await test.close();
}
expect(response).toBe(true);
});
});