Skip to content

🎥 Make videos programmatically with React

try to fix flaky test

Jonny Burger3d27d3ca8cf4
diff --git a/packages/it-tests/src/rendering/frame-accuracy.test.ts b/packages/it-tests/src/rendering/frame-accuracy.test.ts
index ac237593d9..255a6150f9 100644
--- a/packages/it-tests/src/rendering/frame-accuracy.test.ts
+++ b/packages/it-tests/src/rendering/frame-accuracy.test.ts
@@ -33,8 +33,6 @@ const getMissedFramesforCodec = async (
'--image-format',
'png',
'--sequence',
- '--color-space',
- 'bt709',
],
{
cwd: path.join(process.cwd(), '..', 'example'),
@@ -76,7 +74,7 @@ const getMissedFramesforCodec = async (
colorDistance.blue,
colorDistance.green,
);
- const threshold = 30;
+ const threshold = 35;
if (highestDistance > threshold) {
console.log(colorDistance, {threshold, frame, filename});
missedFrames++;