Created
January 25, 2017 08:47
-
-
Save martsie/78bbccf2c191db7623b259dc856a5082 to your computer and use it in GitHub Desktop.
QUnit test in CofeeScript for https://gist.github.com/martsie/5738fb2e618d9023b255bef9cec0d218
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
QUnit.module 'Waiter class' | |
test 'Waiter waits for 1 seconds', (assert) -> | |
done = do assert.async | |
waiter = new Waiter() | |
waiter.waitAndReturn -> | |
ok true, 'Timer completed' | |
do done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment