Created
March 18, 2017 16:38
-
-
Save kirs/14a329124dd54b92a7a685376600f13d to your computer and use it in GitHub Desktop.
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
function timeout(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} | |
test('I cant handle timeouts', async () => { | |
await timeout(1); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment