mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-30 04:13:51 +02:00
Fix failing tests, add missing license headers
This commit is contained in:
@@ -41,6 +41,7 @@ test('Default track disposition', async () => {
|
||||
original: false,
|
||||
hearingImpaired: false,
|
||||
visuallyImpaired: false,
|
||||
primary: false,
|
||||
commentary: false,
|
||||
});
|
||||
});
|
||||
@@ -87,6 +88,7 @@ test('Customized track disposition', async () => {
|
||||
original: true,
|
||||
hearingImpaired: true,
|
||||
visuallyImpaired: true,
|
||||
primary: false,
|
||||
commentary: true,
|
||||
});
|
||||
});
|
||||
|
||||
@@ -21,7 +21,7 @@ test('can loop over all samples', async () => {
|
||||
|
||||
const track = await input.getPrimaryAudioTrack();
|
||||
assert(track);
|
||||
expect(await track.computeDuration()).toEqual(19.71428571428571);
|
||||
expect(await track.computeDuration()).toEqual(19.714285714285715);
|
||||
expect(await track.getDecoderConfig()).toEqual({
|
||||
codec: 'flac',
|
||||
numberOfChannels: 2,
|
||||
|
||||
Reference in New Issue
Block a user