Skip to content

Commit c9085b4

Browse files
committed
added onScrollEnd and onScrollEndCapture tests
1 parent f9226a4 commit c9085b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/lib/rules/no-unknown-property.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ ruleTester.run('no-unknown-property', rule, {
4848
// Some HTML/DOM elements with common attributes should work
4949
{ code: '<div className="bar"></div>;' },
5050
{ code: '<div onMouseDown={this._onMouseDown}></div>;' },
51+
{ code: '<div onScrollEnd={this._onScrollEnd}></div>;' },
52+
{ code: '<div onScrollEndCapture={this._onScrollEndCapture}></div>;' },
5153
{ code: '<a href="someLink" download="foo">Read more</a>' },
5254
{ code: '<area download="foo" />' },
5355
{ code: '<img src="cat_keyboard.jpeg" alt="A cat sleeping on a keyboard" align="top" fetchPriority="high" />' },

0 commit comments

Comments
 (0)