Created
January 24, 2021 21:19
-
-
Save bmdalex/22786d4b308616676b0a489103eef16f to your computer and use it in GitHub Desktop.
DO test events
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
| it('when the user submits it should emit the "register-update" event', () => { | |
| const eventArgs = wrapper.emitted()['register-update'][0] | |
| expect(eventArgs).toBe(registerUserResponse) | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment