Skip to content

Commit 38e4cc4

Browse files
committed
fix test
1 parent f5d274d commit 38e4cc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/keyboard/modifiers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test.each([
2323
const modifierUp = getEvents('keyup')[1]
2424
expect(modifierUp).toHaveProperty('key', key)
2525
expect(modifierUp).toHaveProperty(modifier, false)
26-
expect(modifierDown.getModifierState(key)).toBe(false)
26+
expect(modifierUp.getModifierState(key)).toBe(false)
2727
})
2828

2929
test.each([['AltGraph'], ['Fn'], ['Symbol']])(

0 commit comments

Comments
 (0)