<!-- * Please fill out this template with all the relevant information so we can understand what's going on and fix the issue. We appreciate bugs filed and PRs submitted! * If your issue is regarding one of the query APIs (`getByText`, `getByLabelText`, etc), then please file it on the `dom-testing-library` repository instead. If you file it here it will be closed. Thanks :) * Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file). We'll probably ask you to submit the fix (after giving some direction). If you've never done that before, that's great! Check this free short video tutorial to learn how: http://kcd.im/pull-request --> - `react-testing-library` version: 7.0.1 - `react` version: 16.8.6 ### Relevant code or config: ```js fireEvent.keyPress(button, { key: 'Enter', code: 13, charCode: 13 }) ``` <!-- If this is an issue with documentation, please file an issue on the docs repo: https://github.com/alexkrolick/testing-library-docs --> ### What you did: Used info from #269 how to trigger keyPress in test. ### What happened: Did not trigger keyPress in test. ### Reproduction: https://codesandbox.io/s/reacttestinglibrary-testing-button-8bfqb ### Problem description: Button works as expected when you manually press the enter key on it. Test does not simulate button press when fireEvent.keyPress triggers.