Skip to content

Commit 566d57e

Browse files
authored
fix: support usage of . in keyboard user-events (#40)
1 parent ffa9691 commit 566d57e

File tree

1 file changed

+1
-0
lines changed
  • packages/cli-testing-library/src/user-event/keyboard

1 file changed

+1
-0
lines changed

packages/cli-testing-library/src/user-event/keyboard/keyMap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const defaultKeyMap: Array<keyboardKey> = [
1919
{ code: "Digit)", hex: "\x29" },
2020
{ code: "Digit*", hex: "\x2a" },
2121
{ code: "Digit-", hex: "\x2d" },
22+
{ code: "Digit.", hex: "\x2e" },
2223
{ code: "Digit@", hex: "\x40" },
2324
{ code: "Digit^", hex: "\x5e" },
2425
{ code: "Digit{", hex: "\x7b" },

0 commit comments

Comments
 (0)