@@ -62,11 +62,11 @@ test('double click with prevent compatibility', async () => {
6262await user . pointer ( { keys :'[MouseLeft][MouseLeft]' , target :element } )
6363
6464expect ( getClickEventsSnapshot ( ) ) . toMatchInlineSnapshot ( `
65- pointerdown - pointerId=1; pointerType=mouse; isPrimary=true
66- pointerup - pointerId=1; pointerType=mouse; isPrimary=true
65+ pointerdown - pointerId=1; pointerType=mouse; isPrimary=true; button=0; buttons=1
66+ pointerup - pointerId=1; pointerType=mouse; isPrimary=true; button=0; buttons=0
6767 click - button=0; buttons=0; detail=1
68- pointerdown - pointerId=1; pointerType=mouse; isPrimary=true
69- pointerup - pointerId=1; pointerType=mouse; isPrimary=true
68+ pointerdown - pointerId=1; pointerType=mouse; isPrimary=true; button=0; buttons=1
69+ pointerup - pointerId=1; pointerType=mouse; isPrimary=true; button=0; buttons=0
7070 click - button=0; buttons=0; detail=2
7171 dblclick - button=0; buttons=0; detail=2
7272 ` )
@@ -398,8 +398,8 @@ test('preventDefault on pointer down prevents compatibility events works with po
398398await user . pointer ( { keys :'[MouseLeft]' , target :element } )
399399
400400expect ( getClickEventsSnapshot ( ) ) . toMatchInlineSnapshot ( `
401- pointerdown - pointerId=1; pointerType=mouse; isPrimary=true
402- pointerup - pointerId=1; pointerType=mouse; isPrimary=true
401+ pointerdown - pointerId=1; pointerType=mouse; isPrimary=true; button=0; buttons=1
402+ pointerup - pointerId=1; pointerType=mouse; isPrimary=true; button=0; buttons=0
403403 click - button=0; buttons=0; detail=1
404404 ` )
405405expect ( getEvents ( 'click' ) ) . toHaveLength ( 1 )