Last active
October 4, 2020 23:16
-
-
Save OlaoluwaM/0fda2e5e35b97cb51aa919da27db3e21 to your computer and use it in GitHub Desktop.
async test example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test('should...', async () => { | |
await act(async () => { | |
fireEvent.input(inputElement, {target: {value: 123}}) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment