javascript - Using asunc with asynchronous functions for unit tests -
i'm trying setup unit tests way using mocha. but, doesn't log thing, when remove ̀ settimeout`.
here's mocha's output:
what's wrong please?
you haven't define callback done
. line 41 of pastebin should have callback parameter @ end. having said that, using mocha's callback functionality might better idea you, instead of using async.
Comments
Post a Comment