From ad10550872cc4e3afcdb3b1ec9ffa3cc42d6fadd Mon Sep 17 00:00:00 2001 From: lucaronin Date: Mon, 23 Feb 2026 23:03:45 +0100 Subject: [PATCH] fix: remove unused fileBuffer variable in e2e test --- e2e/image-drag-drop.spec.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/e2e/image-drag-drop.spec.ts b/e2e/image-drag-drop.spec.ts index a058fced..b33d22b3 100644 --- a/e2e/image-drag-drop.spec.ts +++ b/e2e/image-drag-drop.spec.ts @@ -37,9 +37,6 @@ test('drag & drop image into editor inserts image block', async ({ page }) => { const box = await editorContainer.boundingBox() expect(box).toBeTruthy() - // Read the file as a buffer for the DataTransfer - const fileBuffer = fs.readFileSync(testImagePath) - // Use Playwright's page.dispatchEvent with a custom script to simulate file drop await page.evaluate(async ({ base64, x, y }) => { const container = document.querySelector('.editor__blocknote-container')