We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae951fc commit ede82afCopy full SHA for ede82af
questions/232-key-modifiers/index.test.ts
@@ -15,10 +15,15 @@ describe("key modifiers", () => {
15
16
await buttons[0].trigger('click')
17
expect(printLog).toMatchInlineSnapshot('""')
18
+ printLog = ""
19
await buttons[0].trigger('click.alt')
20
expect(printLog).toMatchInlineSnapshot('"onClick1"')
21
22
await buttons[0].trigger('click.shift')
23
24
25
+ await buttons[0].trigger('click.shift.alt')
26
+ expect(printLog).toMatchInlineSnapshot('"onClick1"')
27
28
await buttons[1].trigger('click')
29
0 commit comments