import { addAutoPlay } from '../media'; describe('addAutoPlay()', () => { describe('when the provider is Rumble', () => { it('adds the correct query parameters to the src', () => { const html = ''; expect(addAutoPlay(html)).toEqual(''); }); describe('when the iframe src already has params', () => { it('adds the correct query parameters to the src', () => { const html = ''; expect(addAutoPlay(html)).toEqual(''); }); }); }); describe('when the provider is not Rumble', () => { it('adds the correct query parameters to the src', () => { const html = ''; expect(addAutoPlay(html)).toEqual(''); }); describe('when the iframe src already has params', () => { it('adds the correct query parameters to the src', () => { const html = ''; expect(addAutoPlay(html)).toEqual(''); }); }); }); });