Created
May 19, 2019 22:06
-
-
Save achhunna/227f92d00d62619fe1c7979d35336647 to your computer and use it in GitHub Desktop.
Async callbacks
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('check async block', async() => { | |
await wrapper.vm.asyncFunction(); // where asyncFunction() has a resolved Promise or other async stuff | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment