Skip to content

🎥 Make videos programmatically with React

Update throw-on-infinite-loop.test.ts

Jonny Burgercf23c40139f9
diff --git a/packages/media-parser/src/test/seeking/throw-on-infinite-loop.test.ts b/packages/media-parser/src/test/seeking/throw-on-infinite-loop.test.ts
index 6392561e48..7bb78b758a 100644
--- a/packages/media-parser/src/test/seeking/throw-on-infinite-loop.test.ts
+++ b/packages/media-parser/src/test/seeking/throw-on-infinite-loop.test.ts
@@ -29,7 +29,7 @@ test('handle seek infinite loop better', async () => {
});
} catch (err) {
expect((err as Error).message).toContain(
- 'Seeking infinite loop detected: Seeked to byte 0x30 10 times in a row with less than 200ms inbetween. Check your usage of .seek().',
+ 'Seeking infinite loop detected: Seeked to byte 0x30 10 times in a row with no position change in the file. Check your usage of .seek().',
);
}
});