diff --git a/questions/232-key-modifiers/index.test.ts b/questions/232-key-modifiers/index.test.ts index 4bc37c0..ed2d46c 100644 --- a/questions/232-key-modifiers/index.test.ts +++ b/questions/232-key-modifiers/index.test.ts @@ -15,10 +15,15 @@ describe("key modifiers", () => { await buttons[0].trigger('click') expect(printLog).toMatchInlineSnapshot('""') + printLog = "" await buttons[0].trigger('click.alt') expect(printLog).toMatchInlineSnapshot('"onClick1"') + printLog = "" await buttons[0].trigger('click.shift') expect(printLog).toMatchInlineSnapshot('"onClick1"') + printLog = "" + await buttons[0].trigger('click.shift.alt') + expect(printLog).toMatchInlineSnapshot('"onClick1"') await buttons[1].trigger('click') expect(printLog).toMatchInlineSnapshot('"onClick1"')