Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Feb 29, 2024
1 parent 98934b6 commit 9d0fc96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/frontend/test/scroll.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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);
Expand Down

0 comments on commit 9d0fc96

Please sign in to comment.