Fix failing tests, add missing license headers

This commit is contained in:
Vanilagy
2026-04-01 16:39:42 +02:00
parent 5bba924ce5
commit 3c0a6fc299
14 changed files with 59 additions and 31 deletions
+2
View File
@@ -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,
});
});
+1 -1
View File
@@ -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,