File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,14 +67,14 @@ element in the DOM and the key you want to fire.
6767fireEvent .keyDown (domNode, { key:  ' Enter' :  13  })
6868
6969//  note: you should set the charCode or it will be fallback to 0
70- //  will Fire an  KeyboardEvent with charCode = 0 
70+ //  will fire a  KeyboardEvent with charCode = 13 
7171fireEvent .keyDown (domNode, { key:  ' Enter' :  13  })
7272
7373//  If using event.which, be sure to set the keyCode or it will be fallback to 0
74- //  will Fire  a KeyboardEvent with expected which = 13
74+ //  will fire  a KeyboardEvent with expected which = 13
7575fireEvent .keyDown (domNode, { key:  ' Enter' :  13  })
7676
77- //  will Fire an  KeyboardEvent with charCode = 65
77+ //  will fire a  KeyboardEvent with charCode = 65
7878fireEvent .keyDown (domNode, { key:  ' A' :  65 , charCode:  65  })
7979``` 
8080
                         You can’t perform that action at this time. 
           
                  
0 commit comments