From 3e39bce4a85bb417648f0e01ed816e022d9f937a Mon Sep 17 00:00:00 2001 From: Simon Hofmann Date: Wed, 27 Mar 2024 23:39:02 +0100 Subject: [PATCH] (NT-72) Update test for libnut screen action --- providers/libnut/lib/libnut-screen.class.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/libnut/lib/libnut-screen.class.spec.ts b/providers/libnut/lib/libnut-screen.class.spec.ts index d8feb6e5..527e003f 100644 --- a/providers/libnut/lib/libnut-screen.class.spec.ts +++ b/providers/libnut/lib/libnut-screen.class.spec.ts @@ -36,7 +36,7 @@ describe("libnut screen action", () => { colorAt: jest.fn(), height: screenShotSize.height, image: Buffer.from( - new Array(screenShotSize.width * screenShotSize.height * 4 + 10).fill( + new Array(screenShotSize.width * screenShotSize.height * 4).fill( 0 ) ), @@ -72,7 +72,7 @@ describe("libnut screen action", () => { colorAt: jest.fn(), height: screenShotSize.height, image: Buffer.from( - new Array(screenShotSize.width * screenShotSize.height * 4 + 10).fill( + new Array(screenShotSize.width * screenShotSize.height * 4).fill( 0 ) ),