We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2627e7 commit 198db2fCopy full SHA for 198db2f
test/format-utils-test.js
@@ -403,10 +403,18 @@ describe('chooseFormat', () => {
403
describe('and only non-HLS-livestream would match', () => {
404
it('throws the no format found exception', () => {
405
assert.throws(() => {
406
- chooseFormat(liveWithHLS, { quality: 'audioonly' });
+ chooseFormat(liveWithHLS, { filter: 'audioonly' });
407
}, /No such format found/);
408
});
409
410
+
411
+ describe('and some HLS-livestream would match', () => {
412
+ it('does not throw an exception', () => {
413
+ assert.doesNotThrow(() => {
414
+ chooseFormat(liveWithHLS, { });
415
+ });
416
417
418
419
420
describe('that does not match a format', () => {
0 commit comments