fix: destructure non-iterable instance error (#21)

* fix(issue-20): fix destructure non-iterable instance error

* fix(issue-20): update changelog and app version
This commit is contained in:
Vikrant Guleria
2023-10-18 09:37:03 +00:00
committed by GitHub
parent 9dd01b5361
commit f28361c4bc
4 changed files with 10 additions and 6 deletions

View File

@@ -4,9 +4,9 @@ import { getSubtitles } from '../src';
test('Extract estonia war subtitles', async t => {
const subtitles = await getSubtitles({ videoID: 'HBA0xDHZjko' });
t.deepEqual(subtitles[0], {
dur: '5.679',
start: '7.12',
text: 'november 1918',
dur: '4.72',
start: '6.98',
text: 'November 1918',
});
});