-
-
Save lizmat/8a77b851249e4d0740150cba9c7d9a09 to your computer and use it in GitHub Desktop.
This file contains 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
# Subtest: promise timeout yields correct error | |
1..3 | |
Requested a 2 second timed out promise for 5 sec promise to 42 | |
ok 1 - code dies | |
ok 2 - right exception type (X::Timeout) | |
ok 3 - .message matches /Timeout.*/ | |
ok 1 - promise timeout yields correct error | |
Requested a 4 second timed out promise for | |
ok 2 - 2 second timed out promise didn't time out under 4 seconds | |
ok 3 - 2 second promise result is correct |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment