🎥 Make videos programmatically with React
Update stills-and-colorspaces.test.ts
Jonny Burgercb8c49b6859a
diff --git a/packages/example/src/test/stills-and-colorspaces.test.ts b/packages/example/src/test/stills-and-colorspaces.test.tsindex 761905512f..ac05941504 100644--- a/packages/example/src/test/stills-and-colorspaces.test.ts+++ b/packages/example/src/test/stills-and-colorspaces.test.ts@@ -171,7 +171,8 @@ test('Bt709 encoding should work', async () => {blue: frameImg.readUInt8(2),};expect(actualColorFrame.blue).toBe(0);- expect(actualColorFrame.green).toBe(126);+ expect(actualColorFrame.green).toBeGreaterThanOrEqual(126);+ expect(actualColorFrame.green).toBeLessThanOrEqual(128);expect(actualColorFrame.blue).toBe(0);unlinkSync('out01.png');