Skip to content

🎥 Make videos programmatically with React

colorspace test

Jonny Burger55a12caacdcc
diff --git a/packages/example/package.json b/packages/example/package.json
index daa24d9aac..3d953a8595 100644
--- a/packages/example/package.json
+++ b/packages/example/package.json
@@ -79,7 +79,8 @@
"eslint-plugin-10x": "1.5.2",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.4.0",
- "prettier-plugin-organize-imports": "^3.2.2"
+ "prettier-plugin-organize-imports": "^3.2.2",
+ "sharp": "0.32.6"
},
"publishConfig": {
"access": "public"
diff --git a/packages/example/src/test/stills-and-colorspaces.test.ts b/packages/example/src/test/stills-and-colorspaces.test.ts
index e49a32043b..761905512f 100644
--- a/packages/example/src/test/stills-and-colorspaces.test.ts
+++ b/packages/example/src/test/stills-and-colorspaces.test.ts
@@ -174,5 +174,6 @@ test('Bt709 encoding should work', async () => {
expect(actualColorFrame.green).toBe(126);
expect(actualColorFrame.blue).toBe(0);
- console.log(buffer, actualColorFrame);
+ unlinkSync('out01.png');
+ unlinkSync('out.mp4');
});