From 9d0fc96d1a1241bb29b8b2b64e65cc9da4ba9a13 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Thu, 29 Feb 2024 18:04:03 +0900 Subject: [PATCH] fix test --- packages/frontend/test/scroll.test.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/frontend/test/scroll.test.ts b/packages/frontend/test/scroll.test.ts index e49ec270d..c5e91eef0 100644 --- a/packages/frontend/test/scroll.test.ts +++ b/packages/frontend/test/scroll.test.ts @@ -39,7 +39,6 @@ describe('Scroll', () => { const { document } = new Window(); const div = document.createElement('div'); assert.strictEqual(div.scrollTop, 0); - (div as any).scrollHeight = 100; // happy-dom has no scrollHeight document.body.append(div); @@ -53,7 +52,6 @@ describe('Scroll', () => { const { document } = new Window(); const div = document.createElement('div'); assert.strictEqual(div.scrollTop, 0); - (div as any).scrollHeight = 100; // happy-dom has no scrollHeight let called = false; onScrollBottom(div as any as HTMLElement, () => called = true);