Skip to content

🎥 Make videos programmatically with React

Update extract-frame-rust.test.ts

Jonny Burgerff91bbd5d978
diff --git a/packages/renderer/src/test/extract-frame-rust.test.ts b/packages/renderer/src/test/extract-frame-rust.test.ts
index 3e5b08f6df..ceb90507ff 100644
--- a/packages/renderer/src/test/extract-frame-rust.test.ts
+++ b/packages/renderer/src/test/extract-frame-rust.test.ts
@@ -245,8 +245,8 @@ test(
const header = data.subarray(0, BMP_HEADER_SIZE);
const view = new DataView(header.buffer);
- const width = view.getInt32(18, true);
- const height = view.getInt32(22, true);
+ const width = view.getInt32(18);
+ const height = view.getInt32(22);
expect(width).toBe(683);
expect(height).toBe(512);
@@ -291,8 +291,8 @@ test('Should be able to extract a frame with abnormal DAR', async () => {
const view = new DataView(header.buffer);
- const width = view.getInt32(18, true);
- const height = view.getInt32(22, true);
+ const width = view.getInt32(18);
+ const height = view.getInt32(22);
expect(width).toBe(1280);
expect(height).toBe(2276);