Skip to content

🎥 Make videos programmatically with React

fix test - now lower amount of kb/s

Jonny Burger09614c06f4e7
diff --git a/packages/it-tests/src/rendering/rendering.test.ts b/packages/it-tests/src/rendering/rendering.test.ts
index 28ad2dc89b..f9624938cf 100644
--- a/packages/it-tests/src/rendering/rendering.test.ts
+++ b/packages/it-tests/src/rendering/rendering.test.ts
@@ -231,7 +231,7 @@ test("Should be able to render a MP3 audio file", async () => {
fs.unlinkSync(out);
});
-test("Should be able to render a AAC audio file", async () => {
+test.only("Should be able to render a AAC audio file", async () => {
const out = outputPath.replace("mp4", "aac");
const task = execa(
"pnpm",
@@ -254,7 +254,7 @@ test("Should be able to render a AAC audio file", async () => {
expect(data).toContain("stereo");
expect(data).toContain("fltp");
expect(data).not.toContain("Kevin MacLeod");
- expect(data).toMatch(/\d\d\d kb\/s/);
+ expect(data).toMatch(/\d?\d kb\/s/);
expect(data).toContain("Stream #0");
expect(data).not.toContain("Stream #1");
fs.unlinkSync(out);