Skip to content

Commit

Permalink
docs(esl-event-listener): fix typo in test/targets/wheel.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Anastasiya Lesun <72765981+NastaLeo@users.noreply.github.com>
  • Loading branch information
ala-n and NastaLeo committed Jul 1, 2024
1 parent c5758c3 commit acbfff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/esl-event-listener/test/targets/wheel.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe('ESLWheelTarget', () => {
expect(listener).not.toHaveBeenCalled();
});

test('ESLWheelTarget ignores horizontal scroll when predicate filter deltaX amount', () => {
test('ESLWheelTarget doesn\'t ignore horizontal scroll when predicate filter deltaX amount', () => {
$el.dispatchEvent(Object.assign(new Event('wheel'), {deltaX: 100, deltaY: 0}));
jest.advanceTimersByTime(100);
expect(listener).toHaveBeenCalled();
Expand Down

0 comments on commit acbfff2

Please sign in to comment.